projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5501453
)
Dont set errCode to 0 in zebra_end_trans, zebra_end_read
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Feb 2003 21:46:52 +0000
(21:46 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Feb 2003 21:46:52 +0000
(21:46 +0000)
index/zebraapi.c
patch
|
blob
|
history
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
02893e9
..
2ed3b39
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-1,4
+1,4
@@
-/* $Id: zebraapi.c,v 1.83 2003-02-12 15:45:59 heikki Exp $
+/* $Id: zebraapi.c,v 1.84 2003-02-25 21:46:52 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
Index Data Aps
@@
-1180,8
+1180,6
@@
void zebra_end_read (ZebraHandle zh)
if (zh->trans_no != 0)
return;
if (zh->trans_no != 0)
return;
- zh->errCode=0;
-
#if HAVE_SYS_TIMES_H
times (&zh->tms2);
logf (LOG_LOG, "user/system: %ld/%ld",
#if HAVE_SYS_TIMES_H
times (&zh->tms2);
logf (LOG_LOG, "user/system: %ld/%ld",
@@
-1290,8
+1288,6
@@
void zebra_end_trans (ZebraHandle zh)
zh->trans_no--;
if (zh->trans_no != 0)
return;
zh->trans_no--;
if (zh->trans_no != 0)
return;
- zh->errCode=0;
-
yaz_log (LOG_LOG, "zebra_end_trans");
rval = res_get (zh->res, "shadow");
yaz_log (LOG_LOG, "zebra_end_trans");
rval = res_get (zh->res, "shadow");