From: Adam Dickmeiss Date: Fri, 24 Jan 2003 12:15:45 +0000 (+0000) Subject: Save a few bytes for piggyback :) X-Git-Tag: YAZ.2.0~57 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=fbfb7f5339bcc276a562e6b94b42750ff3b1af3f Save a few bytes for piggyback :) --- diff --git a/debian/changelog b/debian/changelog index a793e74..d9d494c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ yaz (1.9.2-2) unstable; urgency=low * Fix element set for piggyback in ZOOM. - -- Adam Dickmeiss Fri, 24 Jan 2003 12:58:18 +0100 + -- Adam Dickmeiss Fri, 24 Jan 2003 13:15:55 +0100 yaz (1.9.2-1) unstable; urgency=low diff --git a/zutil/zoom-c.c b/zutil/zoom-c.c index 710630d..aaf9c90 100644 --- a/zutil/zoom-c.c +++ b/zutil/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (c) 2000-2003, Index Data * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.15 2003-01-24 11:52:57 adam Exp $ + * $Id: zoom-c.c,v 1.16 2003-01-24 12:15:45 adam Exp $ * * ZOOM layer for C, connections, result sets, queries. */ @@ -958,8 +958,9 @@ static zoom_ret ZOOM_connection_send_search (ZOOM_connection c) { /* Regular piggyback - do it unless we're going to do sort */ *search_req->largeSetLowerBound = 2000000000; - *search_req->smallSetUpperBound = r->count; + *search_req->smallSetUpperBound = 0; *search_req->mediumSetPresentNumber = r->count; + smallSetElementSetName = 0; } else {