Added missing PQF transform rules
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 25 Feb 2003 18:08:46 +0000 (18:08 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 25 Feb 2003 18:08:46 +0000 (18:08 +0000)
CHANGELOG
cql/cqltransform.c

index 3d6eee4..d8786b1 100644 (file)
--- 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).
index 1f2a0d6..b538ce7 100644 (file)
@@ -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);