projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8892da
)
Added logging of CQL/PQF queries for ZOOM-based code
author
Sebastian Hammer
<quinn@indexdata.com>
Mon, 1 Dec 2008 15:22:09 +0000
(15:22 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Mon, 1 Dec 2008 15:22:09 +0000
(15:22 +0000)
src/client.c
patch
|
blob
|
history
diff --git
a/src/client.c
b/src/client.c
index
ad63e3c
..
ff3c0fb
100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-456,13
+456,17
@@
void client_start_search(struct client *cl)
if (cl->cqlquery)
{
+ yaz_log(YLOG_LOG, "Search %s CQL: %s", sdb->database->url, cl->cqlquery);
ZOOM_query q = ZOOM_query_create();
ZOOM_query_cql(q, cl->cqlquery);
rs = ZOOM_connection_search(link, q);
ZOOM_query_destroy(q);
}
else
+ {
+ yaz_log(YLOG_LOG, "Search %s PQF: %s", sdb->database->url, cl->pquery);
rs = ZOOM_connection_search_pqf(link, cl->pquery);
+ }
connection_set_resultset(co, rs);
connection_continue(co);
}