From: Adam Dickmeiss Date: Tue, 25 Feb 2003 18:08:46 +0000 (+0000) Subject: Added missing PQF transform rules X-Git-Tag: YAZ.2.0.1~56 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=50e841cfceee9afecc96294187738e21669310ea;p=yaz-moved-to-github.git Added missing PQF transform rules --- diff --git a/CHANGELOG b/CHANGELOG index 3d6eee4..d8786b1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,9 @@ Possible compatibility problems with earlier versions marked with '*'. +Added missing PQF transform rules for <= and >= . Thanks to Peter Popovics. + +Added scan for the ZOOM shell (zoomsh). + --- 2.0 2003/02/23 * String Identifers for Schemas (Amendment 5). diff --git a/cql/cqltransform.c b/cql/cqltransform.c index 1f2a0d6..b538ce7 100644 --- a/cql/cqltransform.c +++ b/cql/cqltransform.c @@ -1,4 +1,4 @@ -/* $Id: cqltransform.c,v 1.3 2003-02-14 18:49:23 adam Exp $ +/* $Id: cqltransform.c,v 1.4 2003-02-25 18:08:46 adam Exp $ Copyright (C) 2002-2003 Index Data Aps @@ -360,6 +360,12 @@ void cql_transform_r(cql_transform_t ct, if (cn->u.st.relation && !strcmp(cn->u.st.relation, "=")) cql_pr_attr(ct, "relation.", "eq", "scr", pr, client_data, 19); + else if (cn->u.st.relation && !strcmp(cn->u.st.relation, "<=")) + cql_pr_attr(ct, "relation.", "le", "scr", + pr, client_data, 19); + else if (cn->u.st.relation && !strcmp(cn->u.st.relation, ">=")) + cql_pr_attr(ct, "relation.", "ge", "scr", + pr, client_data, 19); else cql_pr_attr(ct, "relation.", cn->u.st.relation, "eq", pr, client_data, 19);