Jan Ciolek
eee8f750cc
cql3: preserve binary_operator.order in search_and_replace
...
There was a bug in `expr::search_and_replace`.
It doesn't preserve the `order` field of binary_operator.
`order` field is used to mark relations created
using the SCYLLA_CLUSTERING_BOUND.
It is a CQL feature used for internal queries inside Scylla.
It means that we should handle the restriction as a raw
clustering bound, not as an expression in the CQL language.
Losing the SCYLLA_CLUSTERING_BOUND marker could cause issues,
the database could end up selecting the wrong clustering ranges.
Fixes : #13055
Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com >
Closes #13056
(cherry picked from commit aa604bd935 )
2023-03-09 12:52:39 +02:00
..
2023-03-09 12:52:39 +02:00
2023-01-03 19:54:13 +02:00
2023-01-16 21:10:56 +02:00
2023-02-05 13:50:48 +02:00
2023-01-16 23:18:56 +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
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +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
2023-01-16 21:10:56 +02:00
2022-09-08 15:25:36 +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-09-28 09:54:59 +03:00
2023-01-16 21:10:56 +02:00
2022-12-10 12:27:22 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-12-10 12:51:05 +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-05-13 07:11:58 +02:00
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2022-05-13 07:11:58 +02:00
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +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
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2022-09-08 15:25:36 +02:00
2022-09-08 15:25:36 +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
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2022-02-01 21:14:41 +01:00
2023-01-03 19:54:13 +02:00
2023-01-03 19:54:13 +02: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
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-01-16 23:18:56 +02:00
2023-01-16 23:18:56 +02:00
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00