mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Unconditionally include the pTmpSpace size in the estimate of the pager
memory used. FossilOrigin-Name: 4b97f8640e9167cd355a24836fe74e4224cf12b9
This commit is contained in:
@@ -5418,7 +5418,7 @@ int sqlite3PagerMemUsed(Pager *pPager){
|
||||
+ 5*sizeof(void*);
|
||||
return perPageSize*sqlite3PcachePagecount(pPager->pPCache)
|
||||
+ sqlite3MallocSize(pPager)
|
||||
+ (pPager->pTmpSpace ? pPager->pageSize : 0);
|
||||
+ pPager->pageSize;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user