1
0
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:
drh
2010-07-29 10:13:25 +00:00
parent df0db0feb5
commit 0cf68a9b17
3 changed files with 11 additions and 11 deletions

View File

@@ -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;
}
/*