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:
f05f8cc
)
GFS: make surrogate diagnostic when yaz_record_conv_record fails
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 16 Oct 2013 10:26:12 +0000
(12:26 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 16 Oct 2013 10:26:12 +0000
(12:26 +0200)
instead of non-surrogate diagnostic. This is a per-record failure.
src/seshigh.c
patch
|
blob
|
history
diff --git
a/src/seshigh.c
b/src/seshigh.c
index
d594f43
..
c88c7e3
100644
(file)
--- a/
src/seshigh.c
+++ b/
src/seshigh.c
@@
-688,6
+688,7
@@
static int retrieve_fetch(association *assoc, bend_fetch_rr *rr)
if (r)
{
rr->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS;
+ rr->surrogate_flag = 1;
if (details)
rr->errstring = odr_strdup(rr->stream, details);
}