merged in WAL journal mode fix from ENGINE-286
authorKrista Bennett <krista@pep-project.org>
Tue, 17 Oct 2017 09:55:01 +0200
changeset 216551f21ed71b87
parent 2163 1dc9a93b3a61
parent 2164 c2969f02820a
child 2166 4c7f95dacc6a
child 2167 33ce2acbd7ed
child 2168 d7219c870f2b
child 2169 0a8ee0b3cc3f
merged in WAL journal mode fix from ENGINE-286
     1.1 --- a/src/pEpEngine.c	Mon Oct 16 14:07:15 2017 +0200
     1.2 +++ b/src/pEpEngine.c	Tue Oct 17 09:55:01 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);