| Previous | Next |
| SQLITE_E_IOERR_CHECKRESERVEDLOCK | SQLITE_E_IOERR_CLOSE |
SQLITE_E_IOERR_LOCK
SQLITE_E_IOERR_LOCK corresponds to SQLITE_IOERR_LOCK. SQLite documents this as an I/O error in advisory file-locking logic, commonly while obtaining a pending lock.
What to check
- Distinguish it from
SQLITE_BUSY: this is an error in the locking mechanism itself, not merely contention. - Investigate filesystem locking semantics and any network or virtualized storage layer.
- Avoid placing a multi-process SQLite database on a share whose lock guarantees are unknown.
PRAGMA journal_mode;
SQLite: Result and Error Codes
SQLite: File Locking and Concurrency
SQLite: Network Filesystem Considerations
Looking for a different code? Search another status or error code.