aboutsummaryrefslogtreecommitdiff
path: root/src/dbstat.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-11-04 20:22:37 +0000
committerdrh <drh@noemail.net>2015-11-04 20:22:37 +0000
commit9584f58cc27111a22e79fcc358d93b9a2e51e258 (patch)
treeb7f87535b794f28fcd67214bc66684a517c9cc4f /src/dbstat.c
parent71258abf0df8293549e31632dd95db79214f30f4 (diff)
downloadsqlite-9584f58cc27111a22e79fcc358d93b9a2e51e258.tar.gz
sqlite-9584f58cc27111a22e79fcc358d93b9a2e51e258.zip
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former
macro called sqlite3PagerGet() has been removed. FossilOrigin-Name: 708253be34084b89987efe955c34557516171a3a
Diffstat (limited to 'src/dbstat.c')
-rw-r--r--src/dbstat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbstat.c b/src/dbstat.c
index f43b14881..ae55d6b80 100644
--- a/src/dbstat.c
+++ b/src/dbstat.c
@@ -386,7 +386,7 @@ static int statDecodePage(Btree *pBt, StatPage *p){
int rc;
u32 iPrev = pCell->aOvfl[j-1];
DbPage *pPg = 0;
- rc = sqlite3PagerGet(sqlite3BtreePager(pBt), iPrev, &pPg);
+ rc = sqlite3PagerGet(sqlite3BtreePager(pBt), iPrev, &pPg, 0);
if( rc!=SQLITE_OK ){
assert( pPg==0 );
return rc;
@@ -454,7 +454,7 @@ statNextRestart:
pCsr->isEof = 1;
return sqlite3_reset(pCsr->pStmt);
}
- rc = sqlite3PagerGet(pPager, iRoot, &pCsr->aPage[0].pPg);
+ rc = sqlite3PagerGet(pPager, iRoot, &pCsr->aPage[0].pPg, 0);
pCsr->aPage[0].iPgno = iRoot;
pCsr->aPage[0].iCell = 0;
pCsr->aPage[0].zPath = z = sqlite3_mprintf("/");
@@ -514,7 +514,7 @@ statNextRestart:
}else{
p[1].iPgno = p->aCell[p->iCell].iChildPg;
}
- rc = sqlite3PagerGet(pPager, p[1].iPgno, &p[1].pPg);
+ rc = sqlite3PagerGet(pPager, p[1].iPgno, &p[1].pPg, 0);
p[1].iCell = 0;
p[1].zPath = z = sqlite3_mprintf("%s%.3x/", p->zPath, p->iCell);
p->iCell++;