From b637f5d4f5d2aea0fba9a338da386e62a10dfd00 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 27 Jan 2011 10:27:59 +0100 Subject: [PATCH] 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. --- src/seshigh.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 1.7.10.4