Skip to content
Snippets Groups Projects
Commit 47994f55 authored by Utz-Uwe Haus's avatar Utz-Uwe Haus
Browse files

Fix wrong asserting in binary cdo selector parsing

Binary operations failed on buggz assertion, rather than running into
'unimplemented' code section that needs fixing.
parent ac21d5d1
Branches
Tags
1 merge request!15Draft: Fix integer attribute and binop CDO selectors
...@@ -1369,7 +1369,8 @@ mstro__csq_validate(struct mstro_csq_val *csq, ...@@ -1369,7 +1369,8 @@ mstro__csq_validate(struct mstro_csq_val *csq,
case MSTRO_CSQ_OP_EQ: /* fallthrough */ case MSTRO_CSQ_OP_EQ: /* fallthrough */
case MSTRO_CSQ_OP_NEQ: { case MSTRO_CSQ_OP_NEQ: {
/* translate lhs wrt. schema, rhs wrt. lhs type */ /* translate lhs wrt. schema, rhs wrt. lhs type */
assert(csq->has.key!=NULL); assert(csq->kv_op.lhs!=NULL);
assert(csq->kv_op.rhs!=NULL);
mstro_schema_attribute attr=NULL; mstro_schema_attribute attr=NULL;
char *tmp=NULL; char *tmp=NULL;
mstro_status s = mstro__csq_lookup(schema, namespace, mstro_status s = mstro__csq_lookup(schema, namespace,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment