diff options
author | dan <dan@noemail.net> | 2015-03-12 19:12:30 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2015-03-12 19:12:30 +0000 |
commit | 63c088e7835a81d9711b09424df43af87dc62d72 (patch) | |
tree | 9cff747e63a14fcce3643f14ead2d44dfcb099a6 /src/test_multiplex.c | |
parent | 0a0d0560aba40e958d1a4d801041f34120f97fc9 (diff) | |
download | sqlite-63c088e7835a81d9711b09424df43af87dc62d72.tar.gz sqlite-63c088e7835a81d9711b09424df43af87dc62d72.zip |
Disable multiplexing of master-journal files in the test_multiplex.c module.
FossilOrigin-Name: b8684df395b5585a9428417c2bfd076515560f19
Diffstat (limited to 'src/test_multiplex.c')
-rw-r--r-- | src/test_multiplex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test_multiplex.c b/src/test_multiplex.c index dbd395d62..cd379f18f 100644 --- a/src/test_multiplex.c +++ b/src/test_multiplex.c @@ -573,6 +573,9 @@ static int multiplexOpen( rc = pSubOpen->pMethods->xFileSize(pSubOpen, &sz); if( rc==SQLITE_OK && zName ){ int bExists; + if( flags & SQLITE_OPEN_MASTER_JOURNAL ){ + pGroup->bEnabled = 0; + }else if( sz==0 ){ if( flags & SQLITE_OPEN_MAIN_JOURNAL ){ /* If opening a main journal file and the first chunk is zero |