1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix a bad interaction between RBU and [df51ae19].

FossilOrigin-Name: 0b9d8a1202c4220fd2ef299b6194533c1bf4018a0cd2d13da7e22c1a7de05ffa
This commit is contained in:
dan
2019-12-20 20:03:21 +00:00
parent 42ae633ab9
commit 879f1a1ea6
4 changed files with 11 additions and 10 deletions

View File

@@ -4813,7 +4813,7 @@ int sqlite3PagerOpen(
z += strlen(z)+1;
nUri++;
}
nUriByte = (int)(&z[2] - zUri);
nUriByte = (int)(&z[1] - zUri);
assert( nUriByte>=1 );
if( rc==SQLITE_OK && nPathname+8>pVfs->mxPathname ){
/* This branch is taken when the journal path required by