From: Adam Dickmeiss Date: Thu, 27 Jan 2011 09:27:59 +0000 (+0100) Subject: GFS: Z_PresentStatus_partial_4 for missing record X-Git-Tag: v4.1.3~4 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=b637f5d4f5d2aea0fba9a338da386e62a10dfd00 GFS: Z_PresentStatus_partial_4 for missing record If bend_fetch handler returns no error and no record, the present request is considered partial (only a subset of the records could be returned by backend), and so it is appropriate to set Present Status to partial-4. --- diff --git a/src/seshigh.c b/src/seshigh.c index 5d2df23..e739d3a 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2505,6 +2505,7 @@ static Z_Records *pack_records(association *a, char *setname, Odr_int start, } if (freq.record == 0) /* no error and no record ? */ { + *pres = Z_PresentStatus_partial_4; *next = 0; /* signal end-of-set and stop */ break; }