Files
scylladb/cql3
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-02-28 22:26:43 +02:00
2023-06-12 10:41:04 +03:00
2023-06-12 10:41:04 +03:00
2023-06-12 10:41:04 +03:00
2023-04-28 16:59:29 +08:00
2023-02-19 21:05:45 +02:00