What does HRESULT 0x87AF060A (SQLITE_E_IOERR_TRUNCATE) mean?

 
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

SQLite: Extended Result Codes

SQLite: VFS interface

SQLite: Write-Ahead Logging


Looking for a different code? Search another status or error code.