projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
zoomsh's shows 1 record by default
[yaz-moved-to-github.git]
/
src
/
rpn2cql.c
diff --git
a/src/rpn2cql.c
b/src/rpn2cql.c
index
b8debea
..
81ca550
100644
(file)
--- a/
src/rpn2cql.c
+++ b/
src/rpn2cql.c
@@
-21,6
+21,7
@@
static const char *lookup_index_from_string_attr(Z_AttributeList *attributes)
{
int j;
static const char *lookup_index_from_string_attr(Z_AttributeList *attributes)
{
int j;
+ int server_choice = 1;
for (j = 0; j < attributes->num_attributes; j++)
{
Z_AttributeElement *ae = attributes->attributes[j];
for (j = 0; j < attributes->num_attributes; j++)
{
Z_AttributeElement *ae = attributes->attributes[j];
@@
-37,8
+38,11
@@
static const char *lookup_index_from_string_attr(Z_AttributeList *attributes)
return son->u.string;
}
}
return son->u.string;
}
}
+ server_choice = 0; /* not serverChoice because we have use attr */
}
}
}
}
+ if (server_choice)
+ return "cql.serverChoice";
return 0;
}
return 0;
}