X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlutil.c;h=f3de006fea93c576477e5f1ade38893eae495bfe;hp=5e94a6081d83533d533e20666be0cf9ecd3a244d;hb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;hpb=ea44785920112e329fbc94c2e70758e6378eb775 diff --git a/src/cqlutil.c b/src/cqlutil.c index 5e94a60..f3de006 100644 --- a/src/cqlutil.c +++ b/src/cqlutil.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -21,7 +21,7 @@ void cql_fputs(const char *buf, void *client_data) fputs(buf, f); } -struct cql_node *cql_node_dup (NMEM nmem, struct cql_node *cp) +struct cql_node *cql_node_dup(NMEM nmem, struct cql_node *cp) { struct cql_node *cn = 0; @@ -98,6 +98,7 @@ struct cql_node *cql_node_mk_sort(NMEM nmem, const char *index, p->u.sort.index = nmem_strdup(nmem, index); p->u.sort.modifiers = modifiers; p->u.sort.next = 0; + p->u.sort.search = 0; return p; }