Skip to content

Commit a535520

Browse files
authored
fix: temp table generation (#653)
1 parent 5533c4e commit a535520

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sqlancer/sqlite3/gen/ddl/SQLite3ViewGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static SQLQueryAdapter dropView(SQLite3GlobalState globalState) {
3131
public static SQLQueryAdapter generate(SQLite3GlobalState globalState) throws SQLException {
3232
StringBuilder sb = new StringBuilder();
3333
sb.append("CREATE");
34-
if (Randomly.getBoolean()) {
34+
if (globalState.getDbmsSpecificOptions().testTempTables && Randomly.getBoolean()) {
3535
sb.append(" ");
3636
sb.append(Randomly.fromOptions("TEMP", "TEMPORARY"));
3737
}

0 commit comments

Comments
 (0)