X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzebraapi.c;h=6537b0d1702e26c102f6886e7b3bc32df8d97e8d;hb=cc9f94a61cbd9dcc0df0cf7d0c7c41d2cec88189;hp=9a082856a03c2edca307fb77812086d8df19f5cc;hpb=d57bb162b65a585e0ed3ad319d9673d66bc6d90c;p=idzebra-moved-to-github.git 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 ();