mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +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:
@@ -3068,6 +3068,7 @@ int sqlite3WalHeapMemory(Wal *pWal){
|
||||
return (pWal && pWal->exclusiveMode==WAL_HEAPMEMORY_MODE );
|
||||
}
|
||||
|
||||
#ifdef SQLITE_ENABLE_ZIPVFS
|
||||
/*
|
||||
** If the argument is not NULL, it points to a Wal object that holds a
|
||||
** read-lock. This function returns the database page-size if it is known,
|
||||
@@ -3077,5 +3078,6 @@ int sqlite3WalFramesize(Wal *pWal){
|
||||
assert( pWal==0 || pWal->readLock>=0 );
|
||||
return (pWal ? pWal->szPage : 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* #ifndef SQLITE_OMIT_WAL */
|
||||
|
Reference in New Issue
Block a user