diff options
author | dan <dan@noemail.net> | 2017-09-14 21:12:07 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2017-09-14 21:12:07 +0000 |
commit | 3ed0f1c9365742e778321bb309686342bed1b709 (patch) | |
tree | 7d9564bf620556921fb24027af2c22bc75ee70c4 /src/os_unix.c | |
parent | 629ec14abc44aa8292923db945263f8d0f96440d (diff) | |
download | sqlite-3ed0f1c9365742e778321bb309686342bed1b709.tar.gz sqlite-3ed0f1c9365742e778321bb309686342bed1b709.zip |
Add another test case for the problem fixed by the previous commit.
FossilOrigin-Name: 1a7e0b61c8a6bdd3ed105b9bc8a3732668fd7a897d2ed16c99445498e3c87089
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 395198935..4445104dd 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5952,7 +5952,9 @@ static int unixOpen( } #endif - assert( zPath==0 || zPath[0]=='/' || eType==SQLITE_OPEN_MASTER_JOURNAL ); + assert( zPath==0 || zPath[0]=='/' + || eType==SQLITE_OPEN_MASTER_JOURNAL || eType==SQLITE_OPEN_MAIN_JOURNAL + ); rc = fillInUnixFile(pVfs, fd, pFile, zPath, ctrlFlags); open_finished: |