From: Adam Dickmeiss Date: Wed, 16 Oct 2013 10:26:12 +0000 (+0200) Subject: GFS: make surrogate diagnostic when yaz_record_conv_record fails X-Git-Tag: v5.0.2~2 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=8ae71d0f1dbb847eff541dd5bc3882f39b1a037a GFS: make surrogate diagnostic when yaz_record_conv_record fails instead of non-surrogate diagnostic. This is a per-record failure. --- diff --git a/src/seshigh.c b/src/seshigh.c index d594f43..c88c7e3 100644 --- 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); }