| Previous | Next |
| SQLITE_E_CONSTRAINT_NOTNULL | SQLITE_E_CONSTRAINT_PRIMARYKEY |
SQLITE_E_IOERR_TRUNCATE
SQLITE_E_IOERR_TRUNCATE corresponds to SQLITE_IOERR_TRUNCATE. SQLite encountered a VFS error while changing a file size through its xTruncate method.
What to check
- Check the filesystem, quota, and storage provider for failures during file resize operations.
- Look for interrupted checkpoint, rollback-journal, or temporary-file cleanup activity around the error.
- Do not manually truncate database, journal, WAL, or shared-memory files as a repair attempt.
PRAGMA journal_mode;
PRAGMA wal_checkpoint(PASSIVE);
SQLite: Result and Error Codes
Looking for a different code? Search another status or error code.
