projects
/
yazpp-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:
572f0d8
)
Omit use of yaz_log in Yaz_cql2rpn class
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 16 Jan 2007 11:54:55 +0000
(11:54 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 16 Jan 2007 11:54:55 +0000
(11:54 +0000)
src/yaz-cql2rpn.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-cql2rpn.cpp
b/src/yaz-cql2rpn.cpp
index
3ebf3f5
..
777c818
100644
(file)
--- a/
src/yaz-cql2rpn.cpp
+++ b/
src/yaz-cql2rpn.cpp
@@
-2,7
+2,7
@@
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 1998-2004, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-cql2rpn.cpp,v 1.12 2007-01-12 10:15:06 adam Exp $
+ * $Id: yaz-cql2rpn.cpp,v 1.13 2007-01-16 11:54:55 adam Exp $
*/
#include <yaz/log.h>
*/
#include <yaz/log.h>
@@
-66,8
+66,6
@@
int Yaz_cql2rpn::query_transform(const char *cql_query,
size_t off;
const char *pqf_msg;
int code = yaz_pqf_error(pp, &pqf_msg, &off);
size_t off;
const char *pqf_msg;
int code = yaz_pqf_error(pp, &pqf_msg, &off);
- yaz_log(YLOG_WARN, "PQF Parser Error %s (code %d)",
- pqf_msg, code);
r = -1;
}
yaz_pqf_destroy(pp);
r = -1;
}
yaz_pqf_destroy(pp);
@@
-75,8
+73,6
@@
int Yaz_cql2rpn::query_transform(const char *cql_query,
else
{
r = cql_transform_error(m_transform, &addinfo);
else
{
r = cql_transform_error(m_transform, &addinfo);
- yaz_log(YLOG_LOG, "CQL Transform Error %d %s", r,
- addinfo ? addinfo : "");
}
}
cql_parser_destroy(cp);
}
}
cql_parser_destroy(cp);