]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Have the pager change to at least WRITER_CACHEMOD state before marking any pages...
authordan <dan@noemail.net>
Tue, 5 Oct 2010 17:02:47 +0000 (17:02 +0000)
committerdan <dan@noemail.net>
Tue, 5 Oct 2010 17:02:47 +0000 (17:02 +0000)
commit96b958afae945a9841b54e48b4f8fa494a732c50
tree9695e11d17f33ba2f6412d4c10fdee8606515110
parent4533cd052dfebbd9dd3caa7d1391866b94051a2a
Have the pager change to at least WRITER_CACHEMOD state before marking any pages as dirty (instead of immediately after). Otherwise, if an error occurs, the pager may be left in WRITER_LOCKED state with dirty pages in the cache.

FossilOrigin-Name: 471a4efbb7e5e32b144b2e2128337a6af950b8f5
manifest
manifest.uuid
src/pager.c
test/malloc3.test