From 83f95c956c2a3574759677b50f37e4fafb750cbf Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Aug 2003 12:32:28 +0000 Subject: [PATCH] Use smallSetUpperBound=1 for ZOOM piggyback --- CHANGELOG | 4 ++++ debian/changelog | 6 ++++++ zutil/zoom-c.c | 4 ++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6481b85..a928173 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,10 @@ Possible compatibility problems with earlier versions marked with '*'. --- (IN PROGRESS) +ZOOM uses smallSetUpperBound=1 instead of 0 for piggyback searches. +It apparantely upsets EBSCO Publishing IR Z39.50 Server which +returns 'malformed search term' otherwise. + SortResponse member resultCount now set to NULL in sort handler of frontend server. diff --git a/debian/changelog b/debian/changelog index d9d5f53..6e35341 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +yaz (2.0.3-7) unstable; urgency=low + + * Use smallSetUpperBound=1 for ZOOM piggyback searches. + + -- Adam Dickmeiss Tue, 19 Aug 2003 14:31:23 +0200 + yaz (2.0.3-6) unstable; urgency=low * Yet one more OPAC fix. diff --git a/zutil/zoom-c.c b/zutil/zoom-c.c index 392f36f..59b051d 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.40 2003-07-29 15:09:19 adam Exp $ + * $Id: zoom-c.c,v 1.41 2003-08-19 12:32:29 adam Exp $ * * ZOOM layer for C, connections, result sets, queries. */ @@ -1200,7 +1200,7 @@ 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 = 0; + *search_req->smallSetUpperBound = 1; *search_req->mediumSetPresentNumber = r->step>0 ? r->step : r->count; } else -- 1.7.10.4