projects
/
yaz-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:
cf06b3d
)
Describe cql_strerror()
author
Mike Taylor
<mike@indexdata.com>
Tue, 27 May 2003 09:52:38 +0000
(09:52 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 27 May 2003 09:52:38 +0000
(09:52 +0000)
doc/tools.xml
patch
|
blob
|
history
diff --git
a/doc/tools.xml
b/doc/tools.xml
index
56fe958
..
3809efa
100644
(file)
--- a/
doc/tools.xml
+++ b/
doc/tools.xml
@@
-1,4
+1,4
@@
-<!-- $Id: tools.xml,v 1.23 2003-05-22 16:57:28 mike Exp $ -->
+<!-- $Id: tools.xml,v 1.24 2003-05-27 09:52:38 mike Exp $ -->
<chapter id="tools"><title>Supporting Tools</title>
<para>
<chapter id="tools"><title>Supporting Tools</title>
<para>
@@
-718,7
+718,7
@@
int cql_parser_string(CQL_parser cp, const char *str);
A CQL query is parsed by the <function>cql_parser_string</function>
which takes a query <parameter>str</parameter>.
If the query was valid (no syntax errors), then zero is returned;
A CQL query is parsed by the <function>cql_parser_string</function>
which takes a query <parameter>str</parameter>.
If the query was valid (no syntax errors), then zero is returned;
- otherwise a non-zero error code is returned.
+ otherwise -1 is returned to indicate a syntax error.
</para>
<para>
<synopsis>
</para>
<para>
<synopsis>
@@
-742,7
+742,7
@@
int cql_parser_stdio(CQL_parser cp, FILE *f);
<sect3 id="tools.cql.tree"><title>CQL tree</title>
<para>
<sect3 id="tools.cql.tree"><title>CQL tree</title>
<para>
- The the query string is validl, the CQL parser
+ The the query string is valid, the CQL parser
generates a tree representing the structure of the
CQL query.
</para>
generates a tree representing the structure of the
CQL query.
</para>
@@
-938,6
+938,13
@@
int cql_transform_error(cql_transform_t ct, char **addinfop);
index set that was not recognised.
</para>
<para>
index set that was not recognised.
</para>
<para>
+ The SRW error-codes may be translated into brief human-readable
+ error messages using
+ <synopsis>
+const char *cql_strerror(int code);
+ </synopsis>
+ </para>
+ <para>
If you wish to be able to produce a PQF result in a different
way, there are two alternatives.
<synopsis>
If you wish to be able to produce a PQF result in a different
way, there are two alternatives.
<synopsis>