From: Adam Dickmeiss Date: Tue, 4 Feb 2014 13:22:46 +0000 (+0100) Subject: ZOOM_record_cache_lookup makes RECV_RECORD event X-Git-Tag: v5.0.13~19 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=5eabfe6397e68d2a77af315ec7edfb30a1e6a54d;p=yaz-moved-to-github.git ZOOM_record_cache_lookup makes RECV_RECORD event --- 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; } }