X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=cql%2Fcqltransform.c;h=b538ce7a1abc98b24eff9a697a5805a9e7f6527c;hp=1f2a0d675e209936a578b423de08b05ada593e00;hb=50e841cfceee9afecc96294187738e21669310ea;hpb=2850c06be8cd7c08371028714715a9177026ef77 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);