mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-24 21:21:56 +00:00
Performance improvement for SQLite3 databases
This commit is contained in:
parent
4149d3163b
commit
4253955dbb
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue