Top posts

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

Security & Privacy
Any year
841

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…