diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pager.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pager.c b/src/pager.c index 60407b9f7..f6b9e6b77 100644 --- a/src/pager.c +++ b/src/pager.c @@ -2999,11 +2999,7 @@ static int pagerPagecount(Pager *pPager, Pgno *pnPage){ */ assert( pPager->eState==PAGER_OPEN ); assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); -#ifndef SQLITE_OMIT_WAL nPage = sqlite3WalDbsize(pPager->pWal); -#else - nPage = 0; -#endif /* If the database size was not available from the WAL sub-system, ** determine it based on the size of the database file. If the size |