Skip to content

Commit b5c5d71

Browse files
committed
Update SQL adapter options for NoREC oracle
1 parent 8dbe1f0 commit b5c5d71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sqlancer/common/oracle/NoRECOracle.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public Reproducer<G> getLastReproducer() {
121121
}
122122

123123
private int countRows(String queryString, ExpectedErrors errors, SQLGlobalState<?, ?> state) {
124-
SQLQueryAdapter q = new SQLQueryAdapter(queryString, errors);
124+
SQLQueryAdapter q = new SQLQueryAdapter(queryString, errors, false, false);
125125

126126
int count = 0;
127127
try (SQLancerResultSet rs = q.executeAndGet(state)) {
@@ -146,7 +146,7 @@ private int countRows(String queryString, ExpectedErrors errors, SQLGlobalState<
146146
}
147147

148148
private int extractCounts(String queryString, ExpectedErrors errors, SQLGlobalState<?, ?> state) {
149-
SQLQueryAdapter q = new SQLQueryAdapter(queryString, errors);
149+
SQLQueryAdapter q = new SQLQueryAdapter(queryString, errors, false, false);
150150
int count = 0;
151151
try (SQLancerResultSet rs = q.executeAndGet(state)) {
152152
if (rs == null) {

0 commit comments

Comments
 (0)