diff options
author | drh <drh@noemail.net> | 2014-10-21 21:56:06 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-10-21 21:56:06 +0000 |
commit | 442c5cd3cfc67d3e10aa64d9f180ef94fb3597cf (patch) | |
tree | 8e99c0680777c47f8922f67a211874864f549334 /src/printf.c | |
parent | f7f2e84a9c7d24fae4ac6fa3d3722039f2101e9c (diff) | |
download | sqlite-442c5cd3cfc67d3e10aa64d9f180ef94fb3597cf.tar.gz sqlite-442c5cd3cfc67d3e10aa64d9f180ef94fb3597cf.zip |
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
Diffstat (limited to 'src/printf.c')
0 files changed, 0 insertions, 0 deletions