mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Initial changes to allow database up to 281TB in size.
FossilOrigin-Name: 9cb7da9bdb666ea40771513b89591dca275f1e92092b39190df747e3797178a3
This commit is contained in:
@@ -2932,8 +2932,8 @@ int sqlite3BtreeGetRequestedReserve(Btree *p){
|
||||
** No changes are made if mxPage is 0 or negative.
|
||||
** Regardless of the value of mxPage, return the maximum page count.
|
||||
*/
|
||||
int sqlite3BtreeMaxPageCount(Btree *p, int mxPage){
|
||||
int n;
|
||||
Pgno sqlite3BtreeMaxPageCount(Btree *p, Pgno mxPage){
|
||||
Pgno n;
|
||||
sqlite3BtreeEnter(p);
|
||||
n = sqlite3PagerMaxPageCount(p->pBt->pPager, mxPage);
|
||||
sqlite3BtreeLeave(p);
|
||||
|
Reference in New Issue
Block a user