]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Call fsync() right after ftruncate() when in journal_mode=TRUNCATE and
authordrh <drh@noemail.net>
Tue, 21 Oct 2014 21:56:06 +0000 (21:56 +0000)
committerdrh <drh@noemail.net>
Tue, 21 Oct 2014 21:56:06 +0000 (21:56 +0000)
commit442c5cd3cfc67d3e10aa64d9f180ef94fb3597cf
tree8e99c0680777c47f8922f67a211874864f549334
parentf7f2e84a9c7d24fae4ac6fa3d3722039f2101e9c
Call fsync() right after ftruncate() when in journal_mode=TRUNCATE and
when synchronous=FULL in order to ensure that transactions are durable
across a power loss that happens moments after the commit.  Proposed
fix for [https://bugzilla.mozilla.org/show_bug.cgi?id=1072773].

FossilOrigin-Name: 3e922208b68563489c7766abb9afb4885113e7b8
manifest
manifest.uuid
src/pager.c