mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-21 16:27:51 -06:00
allow prepared statements for testing
This commit is contained in:
parent
152e5d0540
commit
c07fa49e04
@ -47,8 +47,8 @@ public class Cqld4PreparedStmtDispenser extends Cqld4BaseOpDispenser {
|
||||
DriverAdapter adapter, LongFunction<CqlSession> sessionFunc, ParsedOp op, ParsedTemplateString stmtTpl, RSProcessors processors) {
|
||||
super(adapter, sessionFunc, op);
|
||||
if (op.isDynamic("space")) {
|
||||
throw new RuntimeException("Prepared statements and dynamic space values are not supported." +
|
||||
" This would churn the prepared statement cache, defeating the purpose of prepared statements.");
|
||||
throw new RuntimeException("Prepared statements and dynamic space values are not yet supported" +
|
||||
" but are being implemented");
|
||||
}
|
||||
this.processors = processors;
|
||||
this.stmtTpl = stmtTpl;
|
||||
|
Loading…
Reference in New Issue
Block a user