fix: temp table generation by bajinsheng · Pull Request #653 · sqlancer/sqlancer
Expand Up
@@ -31,7 +31,7 @@ public static SQLQueryAdapter dropView(SQLite3GlobalState globalState) {
public static SQLQueryAdapter generate(SQLite3GlobalState globalState) throws SQLException {
StringBuilder sb = new StringBuilder();
sb.append("CREATE");
if (Randomly.getBoolean()) {
if (globalState.getDbmsSpecificOptions().testTempTables && Randomly.getBoolean()) {
sb.append(" ");
sb.append(Randomly.fromOptions("TEMP", "TEMPORARY"));
}
Expand Down