s->z_query = (Z_Query *) odr_malloc(s->odr_query,
sizeof(*s->z_query));
s->z_query->which = Z_Query_type_1;
s->z_query = (Z_Query *) odr_malloc(s->odr_query,
sizeof(*s->z_query));
s->z_query->which = Z_Query_type_1;
p_query_rpn(s->odr_query, wrbuf_cstr(s->full_query));
if (!s->z_query->u.type_1)
{
p_query_rpn(s->odr_query, wrbuf_cstr(s->full_query));
if (!s->z_query->u.type_1)
{
ext->descriptor = 0;
ext->which = Z_External_CQL;
ext->u.cql = odr_strdup(s->odr_query, wrbuf_cstr(s->full_query));
ext->descriptor = 0;
ext->which = Z_External_CQL;
ext->u.cql = odr_strdup(s->odr_query, wrbuf_cstr(s->full_query));
s->z_query = (Z_Query *) odr_malloc(s->odr_query, sizeof(*s->z_query));
s->z_query->which = Z_Query_type_104;
s->z_query->u.type_104 = ext;
s->z_query = (Z_Query *) odr_malloc(s->odr_query, sizeof(*s->z_query));
s->z_query->which = Z_Query_type_104;
s->z_query->u.type_104 = ext;
sprintf(buf, "can't open CQL transform file '%.200s': %.200s",
cqlfile, strerror(errno));
ZOOM_set_error(c, ZOOM_ERROR_CQL_TRANSFORM, buf);
}
sprintf(buf, "can't open CQL transform file '%.200s': %.200s",
cqlfile, strerror(errno));
ZOOM_set_error(c, ZOOM_ERROR_CQL_TRANSFORM, buf);
}
{
WRBUF wrbuf_result = wrbuf_alloc();
error = cql_transform(trans, cql_parser_result(parser),
{
WRBUF wrbuf_result = wrbuf_alloc();
error = cql_transform(trans, cql_parser_result(parser),
cql_strerror(error), addinfo);
ZOOM_set_error(c, ZOOM_ERROR_CQL_TRANSFORM, buf);
}
cql_strerror(error), addinfo);
ZOOM_set_error(c, ZOOM_ERROR_CQL_TRANSFORM, buf);
}