Avi Kivity
240d9be5e2
cql3: statement_restrictions: set op on all binary-operator-derived predicates
...
The to_predicates() function had fallthrough paths for operators like
LIKE and NOT_IN that created predicates without setting the op field.
This meant predicate-based checks like 'p.op && needs_filtering(*p.op)'
would miss these operators.
Fix by inlining the predicate construction at the fallthrough points
(instead of using cannot_solve_on_column) and setting .op = oper.op.
This ensures all predicates derived from binary operators carry their
operator type, enabling reliable predicate-based analysis.
The cannot_solve_on_column helper is now unused and removed.
2026-05-29 16:50:01 +03:00
..
2026-05-26 09:08:06 +03:00
2026-05-26 17:35:20 +03:00
2026-05-29 16:50:01 +03:00
2026-05-25 10:08:11 +03:00
2026-05-28 11:26:49 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-30 16:51:23 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-27 21:43:56 +02:00
2026-05-26 09:08:06 +03:00
2026-04-12 19:46:33 +03:00
2026-04-13 17:49:27 +03:00
2026-04-13 17:49:27 +03:00
2026-05-25 10:09:11 +03:00
2026-05-25 10:09:11 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-16 08:52:20 +03:00
2026-05-26 09:08:06 +03:00
2026-05-26 09:08:06 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-26 09:08:06 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-21 10:23:29 +03:00
2026-04-12 19:46:33 +03:00
2026-05-21 10:23:29 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-25 10:09:11 +03:00
2026-05-25 10:09:11 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-26 09:08:06 +03:00
2026-05-26 09:08:06 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2024-10-30 14:07:58 +02:00
2026-05-21 10:23:29 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-25 10:09:11 +03:00
2026-05-25 10:09:11 +03:00
2026-05-21 10:23:29 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-26 09:08:06 +03:00
2026-05-26 09:08:06 +03:00
2026-04-12 19:46:33 +03:00
2026-05-21 10:23:29 +03:00