From 4f411c0f26882f2a4e91010ae901815b2bb245dc Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 10 Apr 2014 11:42:54 +0200 Subject: [PATCH] cql_transform_rpn2cql_stream back to error in cql_transform_t --- src/rpn2cql.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 1.7.10.4