try only disabling PRAGMA journal_mode=OFF

This commit is contained in:
Andrew Ekstedt 2018-03-30 13:20:36 -07:00
parent 48655ce39d
commit ee1a1983c0

View file

@ -156,8 +156,8 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False, s
# SQLite speed tweaks # SQLite speed tweaks
if not safe and engine.dialect.name == 'sqlite': if not safe and engine.dialect.name == 'sqlite':
#session.execute("PRAGMA synchronous=OFF") session.execute("PRAGMA synchronous=OFF")
session.execute("PRAGMA journal_mode=OFF") #session.execute("PRAGMA journal_mode=OFF")
# Drop all tables if requested # Drop all tables if requested
if drop_tables: if drop_tables: