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:
1ee11e4
)
Minor fix for isamb
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 14 May 2002 21:12:56 +0000
(21:12 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 14 May 2002 21:12:56 +0000
(21:12 +0000)
isamb/isamb.c
patch
|
blob
|
history
diff --git
a/isamb/isamb.c
b/isamb/isamb.c
index
ff09070
..
c9def6a
100644
(file)
--- a/
isamb/isamb.c
+++ b/
isamb/isamb.c
@@
-2,7
+2,7
@@
* Copyright (c) 2000-2002, Index Data.
* See the file LICENSE for details.
*
- * $Id: isamb.c,v 1.14 2002-05-06 17:45:21 adam Exp $
+ * $Id: isamb.c,v 1.15 2002-05-14 21:12:56 adam Exp $
*/
#include <yaz/xmalloc.h>
#include <yaz/log.h>
@@
-386,7
+386,7
@@
int insert_leaf (ISAMB b, struct ISAMB_block **sp1, void *lookahead_item,
lookahead_item = 0;
more = 0;
}
- if (max_item &&
+ if (lookahead_item && max_item &&
(*b->method->compare_item)(max_item, lookahead_item) <= 0)
{
yaz_log (LOG_LOG, "max_item 1");