| Index: third_party/sqlite/src/src/pager.c
|
| diff --git a/third_party/sqlite/src/src/pager.c b/third_party/sqlite/src/src/pager.c
|
| index 8cd31a91d6d9cf98788dabb5b7e8258945bd7a47..19059c807050dca87afb8af35a85003e3e691185 100644
|
| --- a/third_party/sqlite/src/src/pager.c
|
| +++ b/third_party/sqlite/src/src/pager.c
|
| @@ -5209,7 +5209,7 @@ static int pager_open_journal(Pager *pPager){
|
| ** implementations. */
|
| if( rc==SQLITE_OK && pPager->zFilename!=NULL
|
| && strlen(pPager->zFilename)>0
|
| - && memcmp(pVfs->zName, "unix", 4)==0
|
| + && strncmp(pVfs->zName, "unix", 4)==0
|
| && ( pVfs->zName[4]=='-' || pVfs->zName[4]=='\0' ) ){
|
| CFURLRef database = create_cfurl_from_cstring(pPager->zFilename);
|
| if( CSBackupIsItemExcluded(database, NULL) ){
|
|
|