diff options
author | dan <dan@noemail.net> | 2018-01-23 14:01:51 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2018-01-23 14:01:51 +0000 |
commit | b8fff29c68cdb68b472051c6f892216e388196d9 (patch) | |
tree | 67550979aac1c6dee480bf9c5c1858e8dc6d20a6 /ext/misc/fileio.c | |
parent | 8d7f1630154e98eba7b0364a5cebe759abf90f6e (diff) | |
download | sqlite-b8fff29c68cdb68b472051c6f892216e388196d9.tar.gz sqlite-b8fff29c68cdb68b472051c6f892216e388196d9.zip |
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
Diffstat (limited to 'ext/misc/fileio.c')
0 files changed, 0 insertions, 0 deletions