mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 10:41:12 +00:00
cql3: expr: Handle subscript in test_assignment
test_assignment can't be passed a column_value, so a subscript won't work as well. Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com>
This commit is contained in:
@@ -995,6 +995,9 @@ test_assignment(const expression& expr, data_dictionary::database db, const sstr
|
||||
[&] (const column_value&) -> test_result {
|
||||
on_internal_error(expr_logger, "column_values are not yet reachable via test_assignment()");
|
||||
},
|
||||
[&] (const subscript&) -> test_result {
|
||||
on_internal_error(expr_logger, "subscripts are not yet reachable via test_assignment()");
|
||||
},
|
||||
[&] (const token&) -> test_result {
|
||||
on_internal_error(expr_logger, "tokens are not yet reachable via test_assignment()");
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user