From: Adam Dickmeiss Date: Thu, 23 Aug 2007 12:24:38 +0000 (+0000) Subject: For SRU sarchRetrieve responses option resultSetId is set for result set X-Git-Tag: YAZ.3.0.12~22 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=407a291011ba2743e175f3d2a84d4c6837406f7c For SRU sarchRetrieve responses option resultSetId is set for result set --- diff --git a/src/zoom-c.c b/src/zoom-c.c index 6ebcc33..742847b 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.141 2007-08-16 10:09:36 adam Exp $ + * $Id: zoom-c.c,v 1.142 2007-08-23 12:24:38 adam Exp $ */ /** * \file zoom-c.c @@ -1346,7 +1346,7 @@ static zoom_ret ZOOM_connection_send_init(ZOOM_connection c) odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName)); - version = odr_strdup(c->odr_out, "$Revision: 1.141 $"); + version = odr_strdup(c->odr_out, "$Revision: 1.142 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; ireq->implementationVersion = @@ -3821,6 +3821,9 @@ static void handle_srw_response(ZOOM_connection c, resultset->size = 0; + if (res->resultSetId) + ZOOM_resultset_option_set(resultset, "resultSetId", res->resultSetId); + yaz_log(log_details, "%p handle_srw_response got SRW response OK", c); if (res->numberOfRecords)