Happy new year
[yaz-moved-to-github.git] / src / cqlutil.c
index 43e499b..f3de006 100644 (file)
@@ -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.
  */
 /**
@@ -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;
 }