SQLite Forum

Bug: Database schema corruption
Login
Right.  So I think the solution will be as simple as making sure a statement
journal exists for all CREATE statements.  Hence it probably will not be a big
change.  But I have not verified this.

Any way you slice it, this is a corner case.