]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When using mmap mode on unix, use a read-only mapping by default. Write to the databa...
authordan <dan@noemail.net>
Tue, 17 Nov 2015 20:56:06 +0000 (20:56 +0000)
committerdan <dan@noemail.net>
Tue, 17 Nov 2015 20:56:06 +0000 (20:56 +0000)
commitfe33e39ba6236cab021c6615edc14ca113b26b20
treec0254bbf432e5ccd61c1fa38cffd08b0b8ecf641
parentbfe8bd5a5ed89205b0174e6d5174795002c55fab
When using mmap mode on unix, use a read-only mapping by default. Write to the database file using write(). Unless SQLITE_MMAP_READWRITE is defined, in which case use a read/write mapping and write into the file using memcpy().

FossilOrigin-Name: 67c5d3c646c8198c8637069140aca952b802df25
manifest
manifest.uuid
src/os_unix.c