View Single Post
Old 10-25-2010, 07:32 AM   #15
3d0g
I make fjords.
3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.3d0g can tame squirrels without the assistance of a chair or a whip.
 
Posts: 304
Karma: 11192
Join Date: Jul 2010
Location: Colorado
Device: kobo 1 (retired), kobo 2, iPad, G2, Galaxy Tab 7+
Quote:
Originally Posted by jean_wat View Post
Or even better, fix the DB so that it doesn't get corrupted...

Seriously, how did that happen so easily in 2 days?
Good question since I've had my original kobo since release day and have had absolutely zero issues with it. Actually, I'd expect that as SQLite is ACID compliant and very rugged - it's specifically designed for applications like this. Perhaps your issues aren't DB related?

Quote:
SQLite is Transactional

A transactional database is one in which all changes and queries appear to be Atomic, Consistent, Isolated, and Durable (ACID). SQLite implements serializable transactions that are atomic, consistent, isolated, and durable, even if the transaction is interrupted by a program crash, an operating system crash, or a power failure to the computer.

We here restate and amplify the previous sentence for emphasis: All changes within a single transaction in SQLite either occur completely or not at all, even if the act of writing the change out to the disk is interrupted by

* a program crash,
* an operating system crash, or
* a power failure.

The claim of the previous paragraph is extensively checked in the SQLite regression test suite using a special test harness that simulates the effects on a database file of operating system crashes and power failures.
3d0g is offline   Reply With Quote