projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fe65b
)
GFS: Z_PresentStatus_partial_4 for missing record
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 27 Jan 2011 09:27:59 +0000
(10:27 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 27 Jan 2011 09:27:59 +0000
(10:27 +0100)
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
patch
|
blob
|
history
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
5d2df23
..
e739d3a
100644
(file)
--- 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;
}