X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsrwutil.c;h=61248283b2428e2473ee6b5a8e812cd3a3f6b15c;hb=2bfedb1881eea1eb4e158779348794979ca9b681;hp=16425c4fab851f7860e6dcb5ef863c93f41c4554;hpb=c82bbc07fb53f78aab88bb4121629daeef42ed2a;p=yaz-moved-to-github.git diff --git a/src/srwutil.c b/src/srwutil.c index 16425c4..6124828 100644 --- a/src/srwutil.c +++ b/src/srwutil.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data. * See the file LICENSE for details. * - * $Id: srwutil.c,v 1.3 2004-01-05 09:34:42 adam Exp $ + * $Id: srwutil.c,v 1.5 2004-01-06 11:20:15 adam Exp $ */ #include @@ -327,8 +327,8 @@ static struct { {2, "System temporarily unavailable"}, {3, "Authentication error"}, /* Diagnostics Relating to CQL */ -{10, "Illegal query"}, -{11, "Unsupported query type (XCQL vs CQL)"}, +{10, "Query syntax error"}, +{11, "Unsupported query type"}, {12, "Too many characters in query"}, {13, "Unbalanced or illegal use of parentheses"}, {14, "Unbalanced or illegal use of quotes"}, @@ -428,6 +428,7 @@ static int srw_bib1_map[] = { 7, 30, 8, 32, 9, 29, + 108, 10, /* Malformed query : Syntax error */ 10, 10, 11, 12, 11, 23, @@ -446,10 +447,10 @@ static int srw_bib1_map[] = { 20, 56, 21, 52, 22, 50, - 23, 1, /* bad map */ - 24, 63, /* bad map */ - 25, 63, /* bad map */ - 26, 63, /* bad map */ + 23, 3, + 24, 66, + 25, 66, + 26, 66, 27, 51, 28, 52, 29, 52,