]> git.ipfire.org Git - thirdparty/sqlite.git/commit
In SQLITE_ENABLE_BATCH_ATOMIC_WRITE builds on F2FS file-systems, invoke
authordan <dan@noemail.net>
Tue, 23 Jan 2018 14:01:51 +0000 (14:01 +0000)
committerdan <dan@noemail.net>
Tue, 23 Jan 2018 14:01:51 +0000 (14:01 +0000)
commitb8fff29c68cdb68b472051c6f892216e388196d9
tree67550979aac1c6dee480bf9c5c1858e8dc6d20a6
parent8d7f1630154e98eba7b0364a5cebe759abf90f6e
In SQLITE_ENABLE_BATCH_ATOMIC_WRITE builds on  F2FS file-systems, invoke
SQLITE_FCNTL_ROLLBACK_ATOMIC_WRITE if an SQLITE_FCNTL_COMMIT_ATOMIC_WRITE call
fails. Also, do not use an atomic transaction to create the initial database.
This is because if an error occurs while writing to the db file, any changes
to the file-size do not seem to be rolled back automatically. The only time
this matters is when the file was 0 bytes in size to start with.

FossilOrigin-Name: b3122db1545aeb48b7c28d480534b4b0fe04e83d5336225714c3cad926e5960e
manifest
manifest.uuid
src/pager.c
test/malloc3.test
test/misc7.test
test/pagerfault.test
test/walthread.test