Jan Ciolek
38e115edf7
cql3: Move single element IN restrictions handling
...
Restrictions like
col IN (1)
get converted to
col = 1
as an optimization/simplification.
This used to be done in prepare_binary_operator,
but it fits way better inside of
validate_and_prepare_new_restriction.
When it was being done in prepare_binary_operator
the conversion happened before validation checks
and the error messages would describe an equality
restriction despite the user making an IN restriction.
Now the conversion happens after all validation
is finished, which ensures that all checks are
being done on the original expression.
Fixes : #10631
Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com >
2022-07-11 15:47:16 +02:00
..
2022-07-11 15:47:16 +02:00
2022-07-04 10:42:23 +02:00
2022-07-11 15:47:16 +02:00
2022-07-01 16:29:11 +02:00
2022-07-07 15:02:16 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-06-28 19:58:06 -03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-16 10:57:12 +03:00
2022-06-02 13:11:05 +03:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-07 11:16:12 +02:00
2022-05-13 07:11:58 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-07-05 18:09:17 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-06-17 09:09:49 +02:00
2022-05-13 07:11:58 +02:00
2022-02-24 19:46:10 +03:00
2022-01-18 12:15:18 +01:00
2022-06-17 09:32:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-28 19:58:06 -03:00
2022-06-28 19:58:06 -03:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-02-01 21:14:41 +01:00
2022-03-04 14:18:34 +01:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-16 19:23:46 +03:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-01-18 12:15:18 +01:00
2022-05-16 18:17:58 +02:00
2022-06-17 09:32:58 +02:00
2022-06-17 09:32:58 +02:00