X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zutil%2Flogrpn.c;h=6da0070b9c9fa119d1492d2bf52c419284c84e9f;hb=94c77ca831e55b3dee31184347f25dd0583085d2;hp=229c59f5bcadd4bbdb4a5a22237545a5f35787f6;hpb=4d531a1a9131d69c3b6c27fbac42837e22cff61c;p=yaz-moved-to-github.git diff --git a/zutil/logrpn.c b/zutil/logrpn.c index 229c59f..6da0070 100644 --- a/zutil/logrpn.c +++ b/zutil/logrpn.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2001, Index Data + * Copyright (C) 1995-2003, Index Data * All rights reserved. * - * $Id: logrpn.c,v 1.9 2003-01-06 08:20:29 adam Exp $ + * $Id: logrpn.c,v 1.11 2003-02-27 19:56:00 adam Exp $ */ #include @@ -143,6 +143,9 @@ static void attrStr (int type, int value, enum oid_value ast, char *str) case 103: sprintf (str, "truncation=re-2"); break; + case 104: + sprintf (str, "truncation=CCL"); + break; default: sprintf (str, "truncation"); } @@ -353,7 +356,6 @@ void log_scan_term (Z_AttributesPlusTerm *zapt, oid_value ast) void yaz_log_zquery (Z_Query *q) { - static int cql_oid[] = {1, 2, 840, 10003, 16, 2, -1}; switch (q->which) { case Z_Query_type_1: case Z_Query_type_101: