5 comments

  • dang1 hour ago
    Related. Others?<p><i>How to Corrupt an SQLite Database File</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41846796">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41846796</a> - Oct 2024 (1 comment)<p><i>How to Corrupt an SQLite Database File</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33503555">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33503555</a> - Nov 2022 (1 comment)<p><i>How to Corrupt an SQLite Database File</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31214131">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31214131</a> - April 2022 (139 comments)<p><i>How to Corrupt an SQLite Database File</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16579986">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=16579986</a> - March 2018 (10 comments)<p><i>How to Corrupt an SQLite Database File</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6502229">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6502229</a> - Oct 2013 (63 comments)
  • webprofusion38 minutes ago
    Interesting that it doesn&#x27;t specifically call out Anti-Virus scanning (which does occasionally result in at least one of these scenarios). I&#x27;ve seen many SQLite database become corrupted and the best you can do is have a backup.
  • nok22kon44 minutes ago
    &gt; Multiple copies of SQLite linked into the same application<p>I had recent SQLite corruption, and I suspect it was this - I was accessing an SQLite database from the same python process using both the builtin sqlite3 package, and also the third party apsw library
  • red1oon3 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.
    • andrewl2 days 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.
    • ShinyLeftPad25 minutes ago
      What changes?
  • linzhangrun3 days ago
    Interesting title for official SQLite documentation :)
    • zeroimpl1 hour ago
      So is the official pronunciation of SQLite spelling out the letters then? I’d expect “a” not “an”…
      • cyberax53 minutes ago
        I have never heard it pronounced in any other way than &quot;s-q-lite&quot;.
    • unfocso2 days 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.<p>See, for example: &quot;Defense about the dark arts&quot; (<a href="https:&#x2F;&#x2F;sqlite.org&#x2F;security.Html" rel="nofollow">https:&#x2F;&#x2F;sqlite.org&#x2F;security.Html</a>) and &quot;Why in C?&quot; saying &quot;Because C is best.&quot;
      • andrewl2 days ago
        Your link to the security page is broken because of the capital <i>H</i> in your URL. It should be: <a href="https:&#x2F;&#x2F;www.sqlite.org&#x2F;security.html" rel="nofollow">https:&#x2F;&#x2F;www.sqlite.org&#x2F;security.html</a>
    • andrewl2 days ago
      It’s impressive. To admit fallibility is to be honest. It represents confidence.