Chris Brody wrote:
> My understanding is that mobile apps are not 100% predictable since
> they may be randomly suspended or terminated, at any point of time.

But SQLite is designed so that even killing the process will not
corrupt the database, as long as the storage device works correctly.

> On Tue, Jun 12, 2018 at 6:21 PM skywind mailing lists 
> <mailingli...@skywind.eu> wrote:
>> This only happens when the app is terminated while running when the
>> iDevice switches off due to low battery issues.

Some flash devices corrupt not only the pages currently being written
to, but also other, unrelated data.  There's nothing software can do
to protect against that.

>> when I load my database into sqlite3 and run an integrity check
>> I only get the error message: Error: database disk image is malformed

Try the latest version of the sqlite3 shell.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to