]> git.ipfire.org Git - thirdparty/sqlite.git/commit
When using mmap mode on Win32, use a read-only mapping by default. Write to the datab...
authormistachkin <mistachkin@noemail.net>
Tue, 17 Nov 2015 21:42:32 +0000 (21:42 +0000)
committermistachkin <mistachkin@noemail.net>
Tue, 17 Nov 2015 21:42:32 +0000 (21:42 +0000)
commitc88cd1375358a4adbc52f45a8c81d20008c8622a
treef4840987a9d96ed39aba210f39b215c77e69aadb
parentfe33e39ba6236cab021c6615edc14ca113b26b20
When using mmap mode on Win32, use a read-only mapping by default. Write to the database file using WriteFile(). Unless SQLITE_MMAP_READWRITE is defined, in which case use a read/write mapping and write into the file using memcpy().

FossilOrigin-Name: 4f521b5bb36a1117db324e92dcf80abd2f1a5bc1
manifest
manifest.uuid
src/os_win.c