aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-05-20 13:01:19 +0000
committerdrh <drh@noemail.net>2013-05-20 13:01:19 +0000
commit85b303df54a633e71380e3ffc0816ff952399b61 (patch)
treeead7e3c80e7cb58a160204a625ddea46198079c6 /src/os_unix.c
parent466af9baae3da0ac018a31237cde5dd0963bc4be (diff)
parentd399fb3de8c1a0b6e4bf995e22d07dce6218e22c (diff)
downloadsqlite-85b303df54a633e71380e3ffc0816ff952399b61.tar.gz
sqlite-85b303df54a633e71380e3ffc0816ff952399b61.zip
Update the sessions branch to the official 3.7.17 release code.
FossilOrigin-Name: fc88f7311ba888015634b89b5909890208f543f5
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 30d79f0c5..abc23a452 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5153,7 +5153,7 @@ static int fillInUnixFile(
pNew->pVfs = pVfs;
pNew->zPath = zFilename;
pNew->ctrlFlags = (u8)ctrlFlags;
- pNew->mmapSizeMax = sqlite3GlobalConfig.mxMmap;
+ pNew->mmapSizeMax = sqlite3GlobalConfig.szMmap;
if( sqlite3_uri_boolean(((ctrlFlags & UNIXFILE_URI) ? zFilename : 0),
"psow", SQLITE_POWERSAFE_OVERWRITE) ){
pNew->ctrlFlags |= UNIXFILE_PSOW;