Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 31,673 posts.

Any topic
Any year
5159

How to Corrupt a SQLite Database File

An SQLite database is highly resistant to corruption. If an application crash, or an operating-system crash, or even a power failure occurs in the middle of a transaction, the partially written transaction should be automatically rolled back the next time the database file is accessed. The recovery process is fully…