SQLite Forum

[SOLVED] Getting SQLITE_LOCKED where SQLITE_BUSY is expected
Login
You're totally right. My bad, I wasn't attentive enough; I just read "database is locked" and assumed it's `SQLITE_LOCKED`, even though my program reported the error code of 5 (which is `SQLITE_BUSY`).

So sorry to waste your time with this; you even took the pain of reproducing it in yet another way, with Python — thanks for that!