From: Adam Dickmeiss Date: Wed, 28 Jun 2006 09:38:17 +0000 (+0000) Subject: Log if pqf parsing fails X-Git-Tag: ZEBRA.2.0.0~87 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=b61682c79e8311e1ec73d22872a56ff934c9b249;p=idzebra-moved-to-github.git Log if pqf parsing fails --- diff --git a/test/api/testlib.c b/test/api/testlib.c index 84e7b73..4edb448 100644 --- a/test/api/testlib.c +++ b/test/api/testlib.c @@ -1,4 +1,4 @@ -/* $Id: testlib.c,v 1.32 2006-05-10 08:13:35 adam Exp $ +/* $Id: testlib.c,v 1.33 2006-06-28 09:38:17 adam Exp $ 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_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; }