mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 20:05:10 +00:00
Currently expr::to_restriction is the only place where prepare_binary_operator is called. In case of a single-value IN restriction like: mycol IN (1) this expression is converted to mycol = 1 by expr::to_restriction. Once restriction is removed expr::to_restriction will be removed as well so its functionality has to be moved somewhere else. Move handling single value INs inside prepare_binary_operator. Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com>