forked from LBRYCommunity/lbry-sdk
enable WAL
This commit is contained in:
parent
126642912e
commit
325b601bea
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ class SQLDB:
|
||||||
cursor.setrowtrace(lambda cursor, row: tpl(*row))
|
cursor.setrowtrace(lambda cursor, row: tpl(*row))
|
||||||
return True
|
return True
|
||||||
self.db.setexectrace(exec_factory)
|
self.db.setexectrace(exec_factory)
|
||||||
|
self.execute(self.PRAGMAS)
|
||||||
self.execute(self.CREATE_TABLES_QUERY)
|
self.execute(self.CREATE_TABLES_QUERY)
|
||||||
register_canonical_functions(self.db)
|
register_canonical_functions(self.db)
|
||||||
register_trending_functions(self.db)
|
register_trending_functions(self.db)
|
||||||
|
|
Loading…
Reference in a new issue