1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Previous check-in accidently left mmap turned off by default. This checkin

fixes that.  Unfortunately, shared.test is now segfaulting.  All other
veryquick tests appear to work, however.

FossilOrigin-Name: a850c7319c20b5757983443df05cf2aa4250053b
This commit is contained in:
drh
2013-03-26 01:07:50 +00:00
parent 0d0614bdc6
commit 41f89cc676
8 changed files with 20 additions and 19 deletions

View File

@@ -4749,6 +4749,7 @@ int sqlite3PagerOpen(
/* pPager->pBusyHandlerArg = 0; */
pPager->xReiniter = xReinit;
/* memset(pPager->aHash, 0, sizeof(pPager->aHash)); */
pPager->mxMmap = SQLITE_DEFAULT_MMAP_LIMIT;
*ppPager = pPager;
return SQLITE_OK;