Performance improvement for SQLite3 databases

This commit is contained in:
Timo Smit 2017-02-05 14:46:26 +01:00
parent 4149d3163b
commit 4253955dbb

View file

@ -307,6 +307,7 @@ function sqlite3.start()
-- enable foreign key enforcement
cur = assert(con:execute("PRAGMA foreign_keys=1"))
cur = assert(con:execute("PRAGMA synchronous=0"))
end
function sqlite3.close(doSave)