projects
/
yaz-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:
31daf03
)
ZOOM_record_cache_lookup makes RECV_RECORD event
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 4 Feb 2014 13:22:46 +0000
(14:22 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 4 Feb 2014 13:22:46 +0000
(14:22 +0100)
src/zoom-record-cache.c
patch
|
blob
|
history
diff --git
a/src/zoom-record-cache.c
b/src/zoom-record-cache.c
index
b999e59
..
fe1aeec
100644
(file)
--- a/
src/zoom-record-cache.c
+++ b/
src/zoom-record-cache.c
@@
-143,12
+143,16
@@
ZOOM_record ZOOM_record_cache_lookup(ZOOM_resultset r, int pos,
{
if (pos == rc->pos)
{
+ ZOOM_Event event;
if (yaz_strcmp_null(schema, rc->schema))
continue;
if (yaz_strcmp_null(elementSetName,rc->elementSetName))
continue;
if (yaz_strcmp_null(syntax, rc->syntax))
continue;
+ event = ZOOM_Event_create(ZOOM_EVENT_RECV_RECORD);
+ ZOOM_connection_put_event(r->connection, event);
+
return &rc->rec;
}
}