How to Corrupt an SQLite Database File

(sqlite.org)

25 points | by tosh 2 days ago ago

6 comments

  • red1oon 2 days ago

    Article date is Jan 2022. This changes when SQLite runs as WASM in a browser — a context that only became properly viable with OPFS synchronous access handles in mid-2022.

    • andrewl a day ago

      The January 6, 2022 date at the bottom of the page is not the date the page was last updated. It is the date problem 8.9 (Boundary value error in the secondary journals used by nested transactions) directly above it was fixed. The date at the very bottom of the screen in the middle says the page itself was last updated on 2026-04-13.

  • linzhangrun 2 days ago

    Interesting title for official SQLite documentation :)

    • unfocso a day ago

      The whole sqlite documentation is full of gold gems and other curious documents mostly to appease bureocrats and big companies. It doubles as a fun read other than being incredibly useful.

      See, for example: "Defense about the dark arts" (https://sqlite.org/security.Html) and "Why in C?" saying "Because C is best."

    • andrewl a day ago

      It’s impressive. To admit fallibility is to be honest. It represents confidence.