sqlancer.common.oracle.NoRECBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlancer Show documentation
Show all versions of sqlancer Show documentation
SQLancer finds logic bugs in Database Management Systems through automatic testing
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> implements TestOracle {
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;
public NoRECBase(S state) {
this.state = state;
this.con = state.getConnection();
this.logger = state.getLogger();
this.options = state.getOptions();
}
}