Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SQLStore/TableBuilder/TemporaryTableBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function getSQLCodeFor( $tableName ) {
}

// MySQL_ just a temporary table, use INSERT IGNORE later
return "CREATE TEMPORARY TABLE " . $tableName . "( id INT UNSIGNED KEY ) ENGINE=MEMORY";
return "CREATE TEMPORARY TABLE IF NOT EXISTS " . $tableName . "( id INT UNSIGNED KEY ) ENGINE=MEMORY";
}

}