From 087aa6548dbee815eed2e6bad4c5b105c35391cb Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 27 May 2003 09:52:38 +0000 Subject: [PATCH] Describe cql_strerror() --- doc/tools.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/tools.xml b/doc/tools.xml index 56fe958..3809efa 100644 --- a/doc/tools.xml +++ b/doc/tools.xml @@ -1,4 +1,4 @@ - + Supporting Tools @@ -718,7 +718,7 @@ int cql_parser_string(CQL_parser cp, const char *str); A CQL query is parsed by the cql_parser_string which takes a query str. 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. @@ -742,7 +742,7 @@ int cql_parser_stdio(CQL_parser cp, FILE *f); CQL tree - 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. @@ -938,6 +938,13 @@ int cql_transform_error(cql_transform_t ct, char **addinfop); index set that was not recognised. + The SRW error-codes may be translated into brief human-readable + error messages using + +const char *cql_strerror(int code); + + + If you wish to be able to produce a PQF result in a different way, there are two alternatives. -- 1.7.10.4