X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlutil.c;h=eb6e24dc6d68a6008d98d90a1d8dd2b67782df7c;hp=6342bf9c7ea3081c6743028ef98b98305b410441;hb=3489c6eaceb7ab7f4e8298a2f898dda0c3d0a09c;hpb=b64382a1e420049b882b87fb05fe058aa6592d1c diff --git a/src/cqlutil.c b/src/cqlutil.c index 6342bf9..eb6e24d 100644 --- a/src/cqlutil.c +++ b/src/cqlutil.c @@ -1,11 +1,7 @@ -/* $Id: cqlutil.c,v 1.10 2006-09-27 11:39:01 adam Exp $ - Copyright (C) 1995-2005, Index Data ApS - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE for details. -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data + * See the file LICENSE for details. + */ /** * \file cqlutil.c @@ -68,6 +64,7 @@ struct cql_node *cql_node_mk_sc(NMEM nmem, p->u.st.relation = nmem_strdup(nmem, relation); p->u.st.relation_uri = 0; p->u.st.modifiers = 0; + p->u.st.extra_terms = 0; return p; } @@ -86,7 +83,7 @@ struct cql_node *cql_node_mk_boolean(NMEM nmem, const char *op) const char *cql_uri(void) { - return "info:srw/cql-context-set/1/cql-v1.1"; + return "info:srw/cql-context-set/1/cql-v1.2"; } struct cql_node *cql_apply_prefix(NMEM nmem,