That might have been it. Overall the whole “How to corrupt your database article” was quite a good read:
https://sqlite.org/howtocorrupt.html