Save a few bytes for piggyback :)
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 24 Jan 2003 12:15:45 +0000 (12:15 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 24 Jan 2003 12:15:45 +0000 (12:15 +0000)
debian/changelog
zutil/zoom-c.c

index a793e74..d9d494c 100644 (file)
@@ -2,7 +2,7 @@ yaz (1.9.2-2) unstable; urgency=low
 
   * Fix element set for piggyback in ZOOM.
 
- -- Adam Dickmeiss <adam@indexdata.dk>  Fri, 24 Jan 2003 12:58:18 +0100
+ -- Adam Dickmeiss <adam@indexdata.dk>  Fri, 24 Jan 2003 13:15:55 +0100
 
 yaz (1.9.2-1) unstable; urgency=low
 
index 710630d..aaf9c90 100644 (file)
@@ -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
     {