Class | SQLite::Exceptions::LockedException |
In: |
ext/sqlite-api.c
|
Parent: | DatabaseException |
From the SQLite documentation:
"This return code is similar to SQLITE_BUSY in that it indicates that the database is locked. But the source of the lock is a recursive call to sqlite_exec. This return can only occur if you attempt to invoke sqlite_exec from within a callback routine of a query from a prior invocation of sqlite_exec. Recursive calls to sqlite_exec are allowed as long as they do not attempt to write the same table."