From 5eabfe6397e68d2a77af315ec7edfb30a1e6a54d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 4 Feb 2014 14:22:46 +0100 Subject: [PATCH] ZOOM_record_cache_lookup makes RECV_RECORD event --- src/zoom-record-cache.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zoom-record-cache.c b/src/zoom-record-cache.c index b999e59..fe1aeec 100644 --- 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; } } -- 1.7.10.4