Petr Gusev
0d443dfd16
modification_statement: fix LWT insert crash if clustering key is null
...
PR #9314 fixed a similar issue with regular insert statements
but missed the LWT code path.
It's expected behaviour of
modification_statement::create_clustering_ranges to return an
empty range in this case, since possible_lhs_values it
uses explicitly returns empty_value_set if it evaluates rhs
to null, and it has a comment about it (All NULL
comparisons fail; no column values match.) On the other hand,
all components of the primary key are required to be set,
this is checked at the prepare phase, in
modification_statement::process_where_clause. So the only
problem was modification_statement::execute_with_condition
was not expecting an empty clustering_range in case of
a null clustering key.
Fixes : #11954
2022-11-22 16:45:16 +04: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-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-09-07 21:27:32 -03:00
2022-05-13 07:11:58 +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-01-18 12:15:18 +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-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-22 20:16:49 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-08-10 06:01:47 +03:00
2022-05-13 07:11:58 +02:00
2022-09-20 06:18:51 +03:00
2022-08-08 08:09:41 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-08-11 16:23:57 +02:00
2022-07-18 15:25:41 +02:00
2022-07-20 18:19:22 +02:00
2022-07-18 15:25:41 +02:00
2022-08-14 10:29:52 +03:00
2022-08-14 10:29:13 +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-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-09-11 16:50:42 -03:00
2022-09-07 21:27:32 -03:00
2022-07-07 15:02:16 +03: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-09-26 18:30:39 +03:00
2022-05-13 07:11:58 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +01:00
2022-01-24 15:12:50 +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-01-18 12:15:18 +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-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-04 18:59:56 +03:00
2022-07-18 15:25:41 +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-08-14 10:29:52 +03:00
2022-08-14 10:29:52 +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-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +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-11-22 16:45:16 +04: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
2022-05-13 07:11:58 +02:00
2022-08-10 06:01:47 +03:00
2022-05-19 10:11:50 +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-23 16:14:41 +02:00
2022-05-13 07:11:58 +02:00
2022-11-18 12:44:00 +02:00
2022-07-01 16:29:11 +02:00
2022-02-27 11:48:03 +02:00
2022-02-27 11:48:03 +02:00
2022-03-31 07:04:00 +03:00
2022-01-18 12:15:18 +01: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-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03:00
2022-09-26 18:30:39 +03:00
2022-09-26 18:30:39 +03:00
2022-09-28 09:54:59 +03: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