sqlancer.citus.CitusGlobalState 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.citus;
import java.sql.SQLException;
import sqlancer.postgres.PostgresGlobalState;
public class CitusGlobalState extends PostgresGlobalState {
private boolean repartition;
public void setRepartition(boolean repartition) {
this.repartition = repartition;
}
public boolean getRepartition() {
return repartition;
}
@Override
public CitusSchema readSchema() throws SQLException {
return CitusSchema.fromConnection(getConnection(), getDatabaseName());
}
}