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:
3718a9d
)
Fix problem with blocked show
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 24 Dec 2012 10:32:33 +0000
(11:32 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 24 Dec 2012 10:35:26 +0000
(11:35 +0100)
Make sure that reclist_get_num_records returns >0 result if record
list is non empty. This is to ensure that client_got_records fires
session watches (SESSIN_WATCH_SHOW, ..).
src/reclists.c
patch
|
blob
|
history
diff --git
a/src/reclists.c
b/src/reclists.c
index
7662561
..
366ccae
100644
(file)
--- a/
src/reclists.c
+++ b/
src/reclists.c
@@
-414,6
+414,7
@@
struct record_cluster *reclist_insert(struct reclist *l,
cluster->relevance_explain2 = wrbuf_alloc();
/* attach to hash list */
*p = new;
+ l->num_records++;
}
yaz_mutex_leave(l->mutex);
return cluster;