Created
December 4, 2013 07:56
-
-
Save JefClaes/7783803 to your computer and use it in GitHub Desktop.
Hopefully you will not lose power too often.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We are told that the flush and fsync primitives are broken on some versions of Windows and Linux. This is unfortunate. It opens SQLite up to the possibility of database corruption following a power loss in the middle of a commit. However, there is nothing that SQLite can do to test for or remedy the situation. SQLite assumes that the operating system that it is running on works as advertised. If that is not quite the case, well then hopefully you will not lose power too often. | |
Source: http://www.sqlite.org/atomiccommit.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment