Jan Ciolek
4882724066
cql3: prepare_expr: forbid preparing bind_variable without a receiver
...
prepare_expression treats receiver as an optional argument,
it can be set to nullptr and the preparation should
still succeed when it's possible to infer the type of an expression.
preparing a bind_variable requires the receiver to be present,
because it doesn't contain any information about the type
of the bound value.
Added a check that the receiver is present.
Allowing to prepare a bind_variable without
the receiver present was a bug.
Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com >
2022-11-17 20:22:36 +01:00
..
2022-11-17 20:22:36 +01:00
2022-07-20 18:19:22 +02:00
2022-10-13 15:11:32 +02:00
2022-07-20 18:01:15 +03:00
2022-09-28 18:19:03 +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-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-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03: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-09-26 18:30:39 +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-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-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03: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-09-08 15:25:36 +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
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-07-22 20:14:48 +03:00
2022-07-22 20:14:48 +03:00
2022-10-18 22:48:25 +02:00
2022-10-18 22:48:25 +02:00