1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-15 11:41:13 +03:00

Initialize the mmap_limit of temporary files to the configured mmap_limit.

FossilOrigin-Name: 24bab7596bb7385981a5d331df5eeb05353547f7
This commit is contained in:
drh
2013-04-03 10:50:02 +00:00
parent 7e36962e6c
commit 2b8246e3e2
4 changed files with 10 additions and 10 deletions

View File

@@ -4116,7 +4116,7 @@ static int winOpen(
pFile->pMapRegion = 0;
pFile->mmapSize = 0;
pFile->mmapOrigsize = 0;
pFile->mmapLimit = SQLITE_DEFAULT_MMAP_LIMIT;
pFile->mmapLimit = sqlite3GlobalConfig.mxMmap;
OpenCounter(+1);
return rc;