mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-19 16:15:07 +00:00
collection_constructor can now be evaluated. There is a bit of a problem, because we don't know the type of an empty collection_constructor, but luckily empty collection constructors get converted to constants during preparation. For some reason in the original code when a collection contains unset_value, the whole collection is automatically evaluated to unset_value. I didn't change this behaviour. New code corresponds to old bind() of lists::delayed_value in cql3/lists.cc, sets::delayed_value etc. Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com>