Lines Matching refs:mxPage
36840 SQLITE_PRIVATE void sqlite3PcacheSetCachesize(PCache *pCache, int mxPage){
36841 pCache->szCache = mxPage;
41756 SQLITE_PRIVATE void sqlite3PagerSetCachesize(Pager *pPager, int mxPage){
41757 sqlite3PcacheSetCachesize(pPager->pPCache, mxPage);
42005 ** Attempt to set the maximum database page count if mxPage is positive.
42006 ** Make no changes if mxPage is zero or negative. And never reduce the
42009 ** Regardless of mxPage, return the current maximum page count.
42011 SQLITE_PRIVATE int sqlite3PagerMaxPageCount(Pager *pPager, int mxPage){
42012 if( mxPage>0 ){
42013 pPager->mxPgno = mxPage;
47029 u32 mxPage; /* Max database page to write */
47055 mxPage = pWal->hdr.nPage;
47088 i64 nReq = ((i64)mxPage * szPage);
47099 if( iFrame<=nBackfill || iFrame>mxSafeFrame || iDbpage>mxPage ) continue;
51475 ** value of mxPage. If mxPage is negative, the pager will
51486 SQLITE_PRIVATE int sqlite3BtreeSetCacheSize(Btree *p, int mxPage){
51490 sqlite3PagerSetCachesize(pBt->pPager, mxPage);
51604 ** Set the maximum page count for a database if mxPage is positive.
51605 ** No changes are made if mxPage is 0 or negative.
51606 ** Regardless of the value of mxPage, return the maximum page count.
51608 SQLITE_PRIVATE int sqlite3BtreeMaxPageCount(Btree *p, int mxPage){
51611 n = sqlite3PagerMaxPageCount(p->pBt->pPager, mxPage);
54232 Pgno mxPage; /* Total size of the database file */
54236 mxPage = btreePagecount(pBt);
54238 testcase( n==mxPage-1 );
54239 if( n>=mxPage ){
54252 if( exact && nearby<=mxPage ){
54283 testcase( iTrunk==mxPage );
54284 if( iTrunk>mxPage ){
54344 if( iNewTrunk>mxPage ){
54348 testcase( iNewTrunk==mxPage );
54398 testcase( iPage==mxPage );
54399 if( iPage>mxPage ){
54403 testcase( iPage==mxPage );