mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 19:10:42 +00:00
Sometimes we want to defeat the expression optimizer's ability to fold constant expressions. A bind variable is a convenient way to do this, without the complexity of faking a schema and row inputs. Add a helper to evaluate an expression with bind variable parameters, doing all the paperwork for us. A companion make_bind_variable() is added to likewise simplify creating bind variables for tests.
23 KiB
23 KiB