From: Adam Dickmeiss Date: Thu, 10 Apr 2014 09:42:54 +0000 (+0200) Subject: cql_transform_rpn2cql_stream back to error in cql_transform_t X-Git-Tag: v5.1.0~10^2~4 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=4f411c0f26882f2a4e91010ae901815b2bb245dc;p=yaz-moved-to-github.git cql_transform_rpn2cql_stream back to error in cql_transform_t --- diff --git a/src/rpn2cql.c b/src/rpn2cql.c index 3402ac9..7763db3 100644 --- a/src/rpn2cql.c +++ b/src/rpn2cql.c @@ -343,6 +343,8 @@ int cql_transform_rpn2cql_stream(cql_transform_t ct, int r; WRBUF w = wrbuf_alloc(); r = rpn2cql_structure(ct, pr, client_data, q->RPNStructure, 0, w); + if (r) + cql_transform_set_error(ct, r, 0); wrbuf_destroy(w); return r; }