summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d08893d)
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.
/* attach to hash list */
*p = new;
l->num_records++;
/* attach to hash list */
*p = new;
l->num_records++;
+ l->sorted_list = l->sorted_ptr = 0;
}
yaz_mutex_leave(l->mutex);
return cluster;
}
yaz_mutex_leave(l->mutex);
return cluster;