projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Log if pqf parsing fails
[idzebra-moved-to-github.git]
/
test
/
api
/
testlib.c
diff --git
a/test/api/testlib.c
b/test/api/testlib.c
index
3eb6918
..
4edb448
100644
(file)
--- a/
test/api/testlib.c
+++ b/
test/api/testlib.c
@@
-1,4
+1,4
@@
-/* $Id: testlib.c,v 1.31 2006-04-04 00:02:34 adam Exp $
+/* $Id: testlib.c,v 1.33 2006-06-28 09:38:17 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-176,6
+176,8
@@
int tl_query_x(ZebraHandle zh, const char *query, zint exphits, int experror)
yaz_pqf_destroy(parser);
if (!rpn)
{
yaz_pqf_destroy(parser);
if (!rpn)
{
+ yaz_log(log_level, "could not parse pqf query %s\n", query);
+ printf("could not parse pqf query %s\n", query);
odr_destroy(odr);
return 0;
}
odr_destroy(odr);
return 0;
}
@@
-459,3
+461,11
@@
void tl_check_filter(ZebraService zs, const char *name)
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+