Use smallSetUpperBound=1 for ZOOM piggyback
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 19 Aug 2003 12:32:28 +0000 (12:32 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 19 Aug 2003 12:32:28 +0000 (12:32 +0000)
CHANGELOG
debian/changelog
zutil/zoom-c.c

index 6481b85..a928173 100644 (file)
--- 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.
 
index d9d5f53..6e35341 100644 (file)
@@ -1,3 +1,9 @@
+yaz (2.0.3-7) unstable; urgency=low
+
+  * Use smallSetUpperBound=1 for ZOOM piggyback searches.
+
+ -- Adam Dickmeiss <adam@indexdata.dk>  Tue, 19 Aug 2003 14:31:23 +0200
+
 yaz (2.0.3-6) unstable; urgency=low
 
   * Yet one more OPAC fix.
index 392f36f..59b051d 100644 (file)
@@ -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