Jan Ciolek
aa604bd935
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
2023-03-06 16:28:06 +02:00
..
2023-03-06 16:28:06 +02:00
2023-02-26 19:01:58 +02:00
2023-02-15 11:01:50 +02:00
2023-02-19 21:05:45 +02:00
2023-02-28 21:56:53 +08:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-02-23 12:50:05 +01:00
2023-01-16 21:10:56 +02:00
2023-01-16 21:10:56 +02:00
2023-02-26 14:33:46 +02:00
2022-05-13 07:11:58 +02:00
2023-02-28 22:26:43 +02:00
2023-03-04 13:11:25 +08:00
2022-01-18 12:15:18 +01:00
2023-02-15 11:01:50 +02:00
2022-05-13 07:11:58 +02:00
2023-02-19 21:05:45 +02:00
2022-09-28 09:54:59 +03:00
2023-02-14 11:19:03 +02:00
2022-12-10 12:27:22 +01:00
2023-02-19 21:05:45 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2023-02-15 14:21:26 +02:00
2023-02-19 21:05:45 +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-18 10:38:24 +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-18 10:38:24 +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
2023-02-26 14:33:46 +02:00
2022-01-18 12:15:18 +01:00
2023-02-04 02:13:34 +02:00
2023-01-16 21:10:56 +02:00
2023-02-26 14:33:46 +02:00
2022-09-08 15:25:36 +02: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
2023-01-18 10:38:24 +02:00
2023-01-16 21:10:56 +02:00
2023-01-30 21:50:23 +08:00
2023-01-18 10:38:24 +02:00
2023-02-19 21:05:45 +02:00
2022-05-13 07:11:58 +02:00
2023-02-19 21:05:45 +02:00
2023-02-12 17:25:41 +02:00
2023-02-15 11:01:50 +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-02-08 12:24:58 +02:00
2023-01-16 23:18:56 +02:00
2023-01-16 21:10:56 +02:00
2023-02-19 21:05:45 +02:00