Forcing normal locking on the DB, though this is the default anyway
authorKrista Bennett <krista@pep-project.org>
Thu, 19 Oct 2017 11:03:28 +0200
changeset 2174e2f29960e2f6
parent 2171 588f835770ac
child 2175 c088dc17ce17
child 2176 40a3dca592c8
Forcing normal locking on the DB, though this is the default anyway
src/pEpEngine.c
     1.1 --- a/src/pEpEngine.c	Tue Oct 17 16:36:39 2017 +0200
     1.2 +++ b/src/pEpEngine.c	Thu Oct 19 11:03:28 2017 +0200
     1.3 @@ -324,6 +324,7 @@
     1.4  
     1.5      int_result = sqlite3_exec(
     1.6              _session->db,
     1.7 +            "PRAGMA locking_mode=NORMAL;\n"
     1.8              "PRAGMA journal_mode=WAL;\n",
     1.9              NULL,
    1.10              NULL,