From: Adam Dickmeiss Date: Wed, 3 Jul 2002 14:10:12 +0000 (+0000) Subject: reset error for retrieve. Remove sleep call X-Git-Tag: ZEBRA.1.3.0~36 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=cc9f94a61cbd9dcc0df0cf7d0c7c41d2cec88189;p=idzebra-moved-to-github.git reset error for retrieve. Remove sleep call --- diff --git a/index/zebraapi.c b/index/zebraapi.c index 9a08285..6537b0d 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2002, Index Data * All rights reserved. * - * $Id: zebraapi.c,v 1.60 2002-05-07 11:05:19 adam Exp $ + * $Id: zebraapi.c,v 1.61 2002-07-03 14:10:12 adam Exp $ */ #include @@ -664,6 +664,8 @@ void zebra_records_retrieve (ZebraHandle zh, ODR stream, zh->errString = odr_strdup (stream, setname); return; } + + zh->errCode = 0; if (zebra_begin_read (zh)) return; @@ -1190,9 +1192,6 @@ int zebra_commit (ZebraHandle zh) zebra_set_state (zh, 'c', seqno); logf (LOG_LOG, "commit start"); -#ifndef WIN32 - sleep (2); -#endif bf_commitExec (bfs); #ifndef WIN32 sync ();