Forcing normal locking on the DB, though this is the default anyway diphoton_M1
authorKrista Bennett <krista@pep-project.org>
Thu, 19 Oct 2017 11:03:28 +0200
branchdiphoton_M1
changeset 2245f460ce317d17
parent 2244 2c84d6640dcb
child 2246 a836aee2ab6c
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:19:58 2017 +0200
     1.2 +++ b/src/pEpEngine.c	Thu Oct 19 11:03:28 2017 +0200
     1.3 @@ -308,6 +308,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,