enable WAL

This commit is contained in:
Victor Shyba 2019-12-21 05:44:39 -03:00 committed by Lex Berezhny
parent 126642912e
commit 325b601bea

View file

@ -188,6 +188,7 @@ class SQLDB:
cursor.setrowtrace(lambda cursor, row: tpl(*row))
return True
self.db.setexectrace(exec_factory)
self.execute(self.PRAGMAS)
self.execute(self.CREATE_TABLES_QUERY)
register_canonical_functions(self.db)
register_trending_functions(self.db)