NewsLab
Jun 29 04:12 UTC

How to Corrupt an SQLite Database File (sqlite.org)

25 points|by tosh||6 comments|Read full story on sqlite.org

Comments (6)

6 shown
  1. 1. red1oon||context
    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.
  2. 2. andrewl||context
    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.
  3. 3. linzhangrun||context
    Interesting title for official SQLite documentation :)
  4. 4. unfocso||context
    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."

  5. 5. andrewl||context
    Your link to the security page is broken because of the capital H in your URL. It should be: https://www.sqlite.org/security.html
  6. 6. andrewl||context
    It’s impressive. To admit fallibility is to be honest. It represents confidence.