forked from sqlancer/sqlancer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNoRECBase.java
More file actions
26 lines (21 loc) · 799 Bytes
/
NoRECBase.java
File metadata and controls
26 lines (21 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package sqlancer.common.oracle;
import sqlancer.Main.StateLogger;
import sqlancer.MainOptions;
import sqlancer.SQLConnection;
import sqlancer.SQLGlobalState;
import sqlancer.common.query.ExpectedErrors;
public abstract class NoRECBase<S extends SQLGlobalState<?, ?>> implements TestOracle<S> {
protected final S state;
protected final ExpectedErrors errors = new ExpectedErrors();
protected final StateLogger logger;
protected final MainOptions options;
protected final SQLConnection con;
protected String optimizedQueryString;
protected String unoptimizedQueryString;
protected NoRECBase(S state) {
this.state = state;
this.con = state.getConnection();
this.logger = state.getLogger();
this.options = state.getOptions();
}
}