ENGINE-286: changed management db journal mode to WAL ENGINE-286
authorKrista Bennett <krista@pep-project.org>
Tue, 17 Oct 2017 09:53:44 +0200
branchENGINE-286
changeset 2164c2969f02820a
parent 2163 1dc9a93b3a61
child 2165 51f21ed71b87
child 2720 ee2fbb69172d
ENGINE-286: changed management db journal mode to WAL
src/pEpEngine.c
     1.1 --- a/src/pEpEngine.c	Mon Oct 16 14:07:15 2017 +0200
     1.2 +++ b/src/pEpEngine.c	Tue Oct 17 09:53:44 2017 +0200
     1.3 @@ -322,6 +322,15 @@
     1.4          goto pep_error;
     1.5      }
     1.6  
     1.7 +    int_result = sqlite3_exec(
     1.8 +            _session->db,
     1.9 +            "PRAGMA journal_mode=WAL;\n",
    1.10 +            NULL,
    1.11 +            NULL,
    1.12 +            NULL
    1.13 +        );
    1.14 +
    1.15 +
    1.16      sqlite3_busy_timeout(_session->db, BUSY_WAIT_TIME);
    1.17  
    1.18      assert(SYSTEM_DB);