aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshaneh <shaneh@noemail.net>2010-08-26 05:23:37 +0000
committershaneh <shaneh@noemail.net>2010-08-26 05:23:37 +0000
commit71fe25428e48caab3a6e52a581e5117e669b367a (patch)
tree6af189fc5a0851f369792227f3a3a9c052440f3c /src
parent1cca0d221d2b2e407d07da88f7d22a0efdffdf4b (diff)
downloadsqlite-71fe25428e48caab3a6e52a581e5117e669b367a.tar.gz
sqlite-71fe25428e48caab3a6e52a581e5117e669b367a.zip
Simplification of changes for SQLITE_OMIT_WAL support in pager.c.
FossilOrigin-Name: afb2484c64bf0cdec8240b9ecd0a794c44a63066
Diffstat (limited to 'src')
-rw-r--r--src/pager.c4
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