]> git.ipfire.org Git - thirdparty/sqlite.git/commit
On atomic-write capable systems, if copying the contents of an in-memory journal...
authordan <dan@noemail.net>
Tue, 18 Dec 2012 11:59:39 +0000 (11:59 +0000)
committerdan <dan@noemail.net>
Tue, 18 Dec 2012 11:59:39 +0000 (11:59 +0000)
commit985cd59c488254e8ec1bc83a7537d030922e2d88
treee8d7f895fa9f8b73d6eae35f1bab723af652d30a
parent6d42097622974cf463e08e0ddab4cc50f5de2cb7
On atomic-write capable systems, if copying the contents of an in-memory journal to disk fails, close the (on disk) journal file before returning the error to the caller. This causes the subsequent rollback operation to use the in-memory journal. Fix for [df678d738adb].

FossilOrigin-Name: 8183d8d7ae1ff4bad2fcc01adb923b966b347832
manifest
manifest.uuid
src/journal.c
test/ioerr6.test [new file with mode: 0644]