SQLite Forum

Bug: Database schema corruption
Login
Using savepoint means that you are inside a transaction -- either it was explicity begun with a "begin" statement or was implicitly created by the savepoint command, so this should be expected.

The solution is the same and fixes the issue for all transactions no matter how that state was commenced.