projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #736: Updates gets slower. The problem was that duplicate
[idzebra-moved-to-github.git]
/
index
/
zinfo.c
diff --git
a/index/zinfo.c
b/index/zinfo.c
index
f98b2b4
..
8971d89
100644
(file)
--- a/
index/zinfo.c
+++ b/
index/zinfo.c
@@
-1,4
+1,4
@@
-/* $Id: zinfo.c,v 1.73 2006-11-22 11:13:17 adam Exp $
+/* $Id: zinfo.c,v 1.74 2006-11-27 10:09:48 adam Exp $
Copyright (C) 1995-2006
Index Data ApS
Copyright (C) 1995-2006
Index Data ApS
@@
-963,6
+963,8
@@
int zebraExplain_newDatabase (ZebraExplainInfo zei, const char *database,
zebraExplain_initCommonInfo (zei, node_adinfo);
zebraExplain_initCommonInfo (zei, node_adinfo);
+ data1_mk_tag_data_text(zei->dh, node_adinfo, "name", database, zei->nmem);
+
return 0;
}
return 0;
}
@@
-1048,6
+1050,7
@@
static void zebraExplain_writeAttributeDetails (ZebraExplainInfo zei,
zad->dirty = 0;
#if ZINFO_DEBUG
yaz_log(YLOG_LOG, "zebraExplain_writeAttributeDetails");
zad->dirty = 0;
#if ZINFO_DEBUG
yaz_log(YLOG_LOG, "zebraExplain_writeAttributeDetails");
+ data1_pr_tree(zei->dh, zad->data1_tree, stderr);
#endif
drec = createRecord (zei->records, &zad->sysno);
#endif
drec = createRecord (zei->records, &zad->sysno);
@@
-1059,9
+1062,6
@@
static void zebraExplain_writeAttributeDetails (ZebraExplainInfo zei,
"/attributeDetails");
zebraExplain_updateCommonInfo (zei, node_adinfo);
"/attributeDetails");
zebraExplain_updateCommonInfo (zei, node_adinfo);
- data1_mk_tag_data_text (zei->dh, node_adinfo, "name",
- databaseName, zei->nmem);
-
/* extract *searchable* keys from it. We do this here, because
record count, etc. is affected */
if (key_flush)
/* extract *searchable* keys from it. We do this here, because
record count, etc. is affected */
if (key_flush)