From 0518ff4b2713b8d219ae1e31ba92562f9e89f97b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 21 Apr 2010 13:53:51 +0200 Subject: [PATCH] GFS: Fix nextResultSetPosition for dropped record --- src/seshigh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/seshigh.c b/src/seshigh.c index bd1ec84..b9801ff 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2518,6 +2518,8 @@ static Z_Records *pack_records(association *a, char *setname, Odr_int start, { yaz_log(log_requestdetail, " Dropped last normal-sized record"); *pres = Z_PresentStatus_partial_2; + if (*next > 0) + (*next)--; break; } /* record can only be fetched by itself */ -- 1.7.10.4