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

Add #ifdef SQLITE_ENABLE_ZIPVFS around those bits of code that are only

used by ZIPVFS.

FossilOrigin-Name: 3130275c64a60c5cfacbd11123305e6d99ea866d
This commit is contained in:
drh
2012-02-24 14:33:28 +00:00
parent 8d93684874
commit 70708600b5
7 changed files with 21 additions and 15 deletions

View File

@@ -6871,6 +6871,7 @@ int sqlite3PagerCloseWal(Pager *pPager){
return rc;
}
#ifdef SQLITE_ENABLE_ZIPVFS
/*
** A read-lock must be held on the pager when this function is called. If
** the pager is in WAL mode and the WAL file currently contains one or more
@@ -6882,6 +6883,7 @@ int sqlite3PagerWalFramesize(Pager *pPager){
assert( pPager->eState==PAGER_READER );
return sqlite3WalFramesize(pPager->pWal);
}
#endif
#ifdef SQLITE_HAS_CODEC
/*