X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fcqlstrer.c;h=4a05a08c6aacae61a0d4d70d62b57523c974d82e;hb=5c3d2d2ab097e4bb59ba5718a396b020a2d302c0;hp=f8b29ce09140d23d7d440e85d95af341fe24247e;hpb=c6e47cbbff56f39f6d81b079ebaeac41d793d4d9;p=yaz-moved-to-github.git diff --git a/src/cqlstrer.c b/src/cqlstrer.c index f8b29ce..4a05a08 100644 --- a/src/cqlstrer.c +++ b/src/cqlstrer.c @@ -1,12 +1,17 @@ -/* $Id: cqlstrer.c,v 1.1 2003-10-27 12:21:30 adam Exp $ - Copyright (C) 2002-2003 +/* $Id: cqlstrer.c,v 1.3 2004-10-03 22:34:07 adam Exp $ + Copyright (C) 2002-2004 Index Data Aps This file is part of the YAZ toolkit. -See the file LICENSE. +See the file LICENSE details. */ +/** + * \file cqlstrer.c + * \brief Implements CQL error code map to description string. + */ + #include /* @@ -22,9 +27,9 @@ const char *cql_strerror(int code) { case 12: return "Too many characters in query"; case 13: return "Unbalanced or illegal use of parentheses"; case 14: return "Unbalanced or illegal use of quotes"; - case 15: return "Illegal or unsupported index set"; + case 15: return "Illegal or unsupported context set"; case 16: return "Illegal or unsupported index"; - case 17: return "Illegal or unsupported combination of index and index set"; + case 17: return "Illegal or unsupported combination of index and context set"; case 18: return "Illegal or unsupported combination of indexes"; case 19: return "Illegal or unsupported relation"; case 20: return "Illegal or unsupported relation modifier"; @@ -52,7 +57,7 @@ const char *cql_strerror(int code) { case 42: return "Illegal or unsupported proximity unit"; case 43: return "Illegal or unsupported proximity ordering"; case 44: return "Illegal or unsupported combination of proximity modifiers"; - case 45: return "Index set name (prefix) assigned to multiple identifiers"; + case 45: return "Context set name (prefix) assigned to multiple identifiers"; default: break; }