aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-19 19:00:48 +0000
committerdrh <drh@noemail.net>2014-09-19 19:00:48 +0000
commit142341cd2344c8c97e34d20db51c6e266c652e36 (patch)
tree9d103ad9766d0bbc06ab39aca2518a8125b39c51 /src/os_unix.c
parent0c8f760ab35068d339edc4a4b9aee070c0198b47 (diff)
downloadsqlite-142341cd2344c8c97e34d20db51c6e266c652e36.tar.gz
sqlite-142341cd2344c8c97e34d20db51c6e266c652e36.zip
Make the "nolock" VFS on unix a version-3 VFS so that the sorter can
use memory-mapped I/O. FossilOrigin-Name: 3db78d6100a1ecf58c18eec3abefa7d1250c649c
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 5e820260a..fcd9e72d0 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4997,7 +4997,7 @@ IOMETHODS(
IOMETHODS(
nolockIoFinder, /* Finder function name */
nolockIoMethods, /* sqlite3_io_methods object name */
- 1, /* shared memory is disabled */
+ 3, /* shared memory is disabled */
nolockClose, /* xClose method */
nolockLock, /* xLock method */
nolockUnlock, /* xUnlock method */