-
Notifications
You must be signed in to change notification settings - Fork 715
Closed
Description
As discussed in http://sqlite.1065341.n5.nabble.com/Is-WAL-mode-more-robust-against-corruption-td99624.html:
From https://www.sqlite.org/pragma.html#pragma_synchronous the default PRAGMA synchronous
setting is FULL
, wonder if it should be EXTRA
instead.
Also waiting for more feedback if anyone else on the sqlite-users mailing list can find any possible cause for database corruption in this project. A couple possible causes for corruption on iOS that were recently fixed:
UPDATE: it is desired to use compile-time option to enable this setting by default, details in comment below
ALSO WANTED: use recent SQLite version (3.22.0) to eliminate possibility of corruption due to outdated SQLite version