aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rw-r--r--test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.py b/test.py
index 821bf62..451b403 100644
--- a/test.py
+++ b/test.py
@@ -1,6 +1,7 @@
import sqlite3
con = sqlite3.connect("test.db")
+con.execute("PRAGMA journal_mode=wal")
cur = con.cursor()
cur.execute("CREATE TABLE IF NOT EXISTS cards (idx INTEGER PRIMARY KEY, weight INTEGER, key STRING, val STRING)")
for i in range(10**8):