Ticket #5203: sqlite_synchronous.patch
File sqlite_synchronous.patch, 652 bytes (added by , 17 years ago) |
---|
-
django/db/backends/sqlite3/base.py
181 181 # NB: The generated SQL below is specific to SQLite 182 182 # Note: The DELETE FROM... SQL generated below works for SQLite databases 183 183 # because constraints don't exist 184 sql = ['%s %s %s;' % \ 184 sql = ['PRAGMA SYNCHRONOUS = OFF'] + \ 185 ['%s %s %s;' % \ 185 186 (style.SQL_KEYWORD('DELETE'), 186 187 style.SQL_KEYWORD('FROM'), 187 188 style.SQL_FIELD(quote_name(table))