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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user