Avi Kivity
f94eb708e9
cql3: statement_restrictions: avoid expression's default constructor when classifying restrictions
...
We have some gnarly code that classifies restrictions by the column
they restrict. This uses std::unordered_map::operatorp[], which uses
the value's default constructor. This happens to be "expression", and
as we're about to remove the default constructor, this won't do.
Fix by using try_emplace(), which makes the code nicer and more
efficient. It could be further improved, but it's better to demolish it
instead.
2023-07-14 15:52:03 +03:00
..
2023-07-14 15:49:51 +03:00
2023-07-03 19:45:17 +03:00
2023-07-14 15:52:03 +03:00
2023-07-03 19:45:17 +03:00
2023-07-14 15:42:58 +03:00
2023-06-13 21:04:49 +03:00
2023-06-22 14:21:03 +03:00
2023-03-08 16:18:23 +02:00
2023-04-27 10:24:46 +03:00
2022-05-13 07:11:58 +02:00
2023-02-28 22:26:43 +02:00
2023-07-03 19:45:17 +03:00
2023-07-03 19:45:17 +03:00
2023-07-03 19:45:17 +03:00
2022-05-13 07:11:58 +02:00
2023-02-19 21:05:45 +02:00
2023-07-14 15:42:58 +03:00
2023-07-14 15:42:58 +03:00
2023-05-10 19:10:29 +03:00
2023-03-12 14:04:34 +02:00
2022-01-18 12:15:18 +01:00
2023-07-10 13:20:49 +02:00
2023-07-03 19:45:17 +03:00
2023-05-02 11:23:58 +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
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2022-05-13 07:11:58 +02:00
2023-07-14 15:42:58 +03:00
2023-07-14 15:42:58 +03:00
2022-06-17 09:09:49 +02:00
2022-05-13 07:11:58 +02:00
2023-04-27 10:24:46 +03: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-07-10 13:20:49 +02:00
2023-07-10 13:20:49 +02:00
2023-05-07 17:17:36 +03:00
2023-05-07 17:17:36 +03:00
2023-05-07 17:17:36 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-04-28 16:59:29 +08:00
2023-01-18 10:38:24 +02:00
2023-02-19 21:05:45 +02:00
2023-05-07 17:17:36 +03:00
2023-05-10 15:03:12 +03:00
2023-06-22 14:21:03 +03:00
2023-03-08 16:18:23 +02:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-03-23 01:41:58 +01:00
2023-03-23 01:41:58 +01:00
2023-06-22 14:21:03 +03: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