mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-11 15:50:56 +00:00
parent
17b74bf3d6
commit
236f0ec59c
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ class SbyStatusDb:
|
||||||
|
|
||||||
self.db = sqlite3.connect(path, isolation_level=None, timeout=timeout)
|
self.db = sqlite3.connect(path, isolation_level=None, timeout=timeout)
|
||||||
self.db.row_factory = sqlite3.Row
|
self.db.row_factory = sqlite3.Row
|
||||||
self.db.execute("PRAGMA journal_mode=WAL").fetchone()
|
self.db.execute("PRAGMA journal_mode=WAL")
|
||||||
self.db.execute("PRAGMA synchronous=0").fetchone()
|
self.db.execute("PRAGMA synchronous=0")
|
||||||
|
|
||||||
if setup:
|
if setup:
|
||||||
self._setup()
|
self._setup()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue