]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Drop any existing mapping of the database file when exiting the pager "error state...
authordan <dan@noemail.net>
Sat, 6 Jul 2013 17:57:39 +0000 (17:57 +0000)
committerdan <dan@noemail.net>
Sat, 6 Jul 2013 17:57:39 +0000 (17:57 +0000)
commit789efdb96640598e4f84a3e920af39462e302937
tree7b6a2b1eeef56ce8cf54740a5819cf0490e80464
parentc1f19f95b8ac62dd279f70dd04f5a033a9901b5c
Drop any existing mapping of the database file when exiting the pager "error state", as it may at this point be too large for the database file. Do not invoke file-control MMAP_LIMIT if the database file handle does not support xFetch and xUnfetch (on the grounds that xUnfetch(0) calls to invalidate the mapping cannot be made).

FossilOrigin-Name: 0ae7e75b215b0d75920769da9146c54ce2ad3ce0
manifest
manifest.uuid
src/pager.c
src/test_vfs.c
test/mmapfault.test [new file with mode: 0644]