projects
/
pazpar2-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:
d08893d
)
Fix 'Record Missing' PAZ-903
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Nov 2013 18:47:21 +0000
(19:47 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 15 Nov 2013 18:47:21 +0000
(19:47 +0100)
The problem was that the sorted_next is not updated when a new cluster
is added. This resets sorted_list and sorted_ptr which makes
reclist_limit re-make the sorted_list again.
src/reclists.c
patch
|
blob
|
history
diff --git
a/src/reclists.c
b/src/reclists.c
index
8ef9ba4
..
b16a60e
100644
(file)
--- a/
src/reclists.c
+++ b/
src/reclists.c
@@
-414,6
+414,7
@@
struct record_cluster *reclist_insert(struct reclist *l,
/* attach to hash list */
*p = new;
l->num_records++;
+ l->sorted_list = l->sorted_ptr = 0;
}
yaz_mutex_leave(l->mutex);
return cluster;