mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-23 00:02:37 +00:00
`query_processor::execute_direct()` takes a non-const ref to query options, meaning it's not safe to pass the same instance to subsequent invocations of `execute_direct()` in the tests. Copy default query options at each invocation of `execute_cql()` so no possible side-effects can occur. Tests: unit(dev, debug) Signed-off-by: Pavel Solodovnikov <pa.solodovnikov@scylladb.com> Message-Id: <20210705094824.243573-2-pa.solodovnikov@scylladb.com>