EC
πŸ—ƒοΈ

SQLite Result Codes

SQLite 3.52105 codes

Result codes with Python & C fix examples

Showing 105 of 105 errors
CodeMessage
SQLITE_ERRORSQL logic error→
SQLITE_BUSYdatabase is locked→
SQLITE_LOCKEDdatabase table is locked→
SQLITE_READONLYattempt to write a readonly database→
SQLITE_IOERRdisk I/O error→
SQLITE_CORRUPTdatabase disk image is malformed→
SQLITE_FULLdatabase or disk is full→
SQLITE_CANTOPENunable to open database file→
SQLITE_SCHEMAdatabase schema has changed→
SQLITE_TOOBIGstring or blob too big→
SQLITE_CONSTRAINTconstraint failed→
SQLITE_CONSTRAINT_PRIMARYKEYUNIQUE constraint failed (primary key)β†’
SQLITE_CONSTRAINT_UNIQUEUNIQUE constraint failed→
SQLITE_CONSTRAINT_FOREIGNKEYFOREIGN KEY constraint failed→
SQLITE_CONSTRAINT_NOTNULLNOT NULL constraint failed→
SQLITE_CONSTRAINT_CHECKCHECK constraint failed→
SQLITE_BUSY_SNAPSHOTcannot start a transaction within a transaction (WAL snapshot conflict)β†’
SQLITE_IOERR_WRITEdisk I/O error (write failure)β†’
SQLITE_CORRUPT_VTABdatabase disk image is malformed (virtual table)β†’
SQLITE_CANTOPEN_NOTEMPDIRunable to open a temporary database file for storing temporary tables→
SQLITE_READONLY_ROLLBACKattempt to write a readonly database (hot journal present)β†’
SQLITE_MISMATCHdatatype mismatch→
SQLITE_MISUSEbad parameter or other API misuse→
SQLITE_AUTHnot authorized→
SQLITE_NOTADBfile is not a database→
SQLITE_OKSuccessful result→
SQLITE_INTERNALInternal logic error in SQLite→
SQLITE_PERMAccess permission denied→
SQLITE_ABORTCallback routine requested an abort→
SQLITE_NOMEMmalloc() failed — out of memory→
SQLITE_INTERRUPTOperation terminated by sqlite3_interrupt()β†’
SQLITE_NOTFOUNDUnknown opcode or table/row not found→
SQLITE_PROTOCOLDatabase locking protocol error→
SQLITE_EMPTYInternal use only (not used by SQLite)β†’
SQLITE_NOLFSLarge file support is disabled→
SQLITE_FORMATAuxiliary database format error (not used)β†’
SQLITE_RANGEBind or column index out of range→
SQLITE_NOTICENotification from sqlite3_log()β†’
SQLITE_WARNINGWarning from sqlite3_log()β†’
SQLITE_ROWsqlite3_step() has another row ready→
SQLITE_DONEsqlite3_step() finished executing→
SQLITE_ERROR_MISSING_COLLSEQMissing collating sequence→
SQLITE_ABORT_ROLLBACKStatement aborted due to ROLLBACK→
SQLITE_BUSY_RECOVERYBusy: another connection is recovering WAL→
SQLITE_BUSY_SNAPSHOTBusy: WAL snapshot is out of date→
SQLITE_BUSY_TIMEOUTBusy: timeout waiting for lock→
SQLITE_LOCKED_SHAREDCACHELocked due to shared-cache contention→
SQLITE_READONLY_RECOVERYRead-only: WAL recovery required by another connection→
SQLITE_READONLY_CANTLOCKRead-only: unable to obtain shared lock→
SQLITE_READONLY_ROLLBACKRead-only: rollback journal prevents read→
SQLITE_CANTOPEN_ISDIRCannot open — path is a directory→
SQLITE_CANTOPEN_FULLPATHCannot open — full path resolution failed→
SQLITE_CANTOPEN_SYMLINKCannot open — symlinks not allowed→
SQLITE_CORRUPT_VTABVirtual table content is corrupt→
SQLITE_CORRUPT_SEQUENCEsqlite_sequence table is corrupt→
SQLITE_CORRUPT_INDEXIndex is inconsistent with table→
SQLITE_CONSTRAINT_CHECKCHECK constraint failed→
SQLITE_CONSTRAINT_FOREIGNKEYFOREIGN KEY constraint failed→
SQLITE_CONSTRAINT_NOTNULLNOT NULL constraint failed→
SQLITE_CONSTRAINT_PRIMARYKEYPRIMARY KEY constraint failed→
SQLITE_CONSTRAINT_UNIQUEUNIQUE constraint failed→
SQLITE_CONSTRAINT_ROWIDRowid is not unique→
SQLITE_CONSTRAINT_DATATYPEStrict table datatype constraint failed→
SQLITE_NOTICE_RECOVER_WALWAL file recovery in progress (log notice)β†’
SQLITE_NOTICE_RECOVER_ROLLBACKHot journal rollback in progress (log notice)β†’
SQLITE_WARNING_AUTOINDEXQuery using automatic index (log warning)β†’
SQLITE_OK_LOAD_PERMANENTLYExtension loaded permanently into SQLite→
SQLITE_IOERR_READI/O error during file read→
SQLITE_IOERR_SHORT_READI/O error: short read (unexpected EOF)β†’
SQLITE_IOERR_WRITEI/O error during file write→
SQLITE_IOERR_FSYNCI/O error during fsync()β†’
SQLITE_IOERR_TRUNCATEI/O error during file truncation→
SQLITE_IOERR_DELETEI/O error deleting journal file→
SQLITE_IOERR_NOMEMI/O subsystem out of memory→
SQLITE_IOERR_LOCKI/O error obtaining file lock→
SQLITE_IOERR_MMAPI/O error during memory-mapped file access→
SQLITE_IOERR_BEGIN_ATOMICI/O error starting atomic write→
SQLITE_IOERR_COMMIT_ATOMICI/O error committing atomic write→
SQLITE_IOERR_ROLLBACK_ATOMICI/O error rolling back atomic write→
SQLITE_IOERR_SHMMAPI/O error memory-mapping WAL shared memory→
SQLITE_IOERR_SEEKI/O error during file seek→
SQLITE_IOERR_DELETE_NOENTI/O error deleting non-existent file→
SQLITE_IOERR_CORRUPTFSI/O error — filesystem is corrupt→
SQLITE_LOCKED_VTABVirtual table is locked→
SQLITE_READONLY_DBMOVEDRead-only: database file has been moved→
SQLITE_READONLY_CANTINITRead-only: unable to initialise shared memory→
SQLITE_READONLY_DIRECTORYRead-only: journal directory is not writable→
SQLITE_CONSTRAINT_COMMITHOOKCommit hook requested rollback→
SQLITE_CONSTRAINT_TRIGGERConstraint raised by a trigger→
SQLITE_CONSTRAINT_VTABVirtual table constraint violation→
SQLITE_CONSTRAINT_PINNEDCannot delete a row required by a rowid scan→
SQLITE_AUTH_USERAuthorisation denied by user→
SQLITE_OK_SYMLINKFile is a symlink (success with note)β†’
SQLITE_ERROR_RETRYInternal retry signal (not user-facing)β†’
SQLITE_ERROR_SNAPSHOTSnapshot is out of date→
SQLITE_NOTICE_RBURBU update notice from sqlite3_log()β†’
SQLITE_IOERR_DATAI/O error: data integrity check failed→
SQLITE_IOERR_DIR_FSYNCI/O error syncing the journal directory→
SQLITE_IOERR_UNLOCKI/O error releasing file lock→
SQLITE_IOERR_RDLOCKI/O error checking reserved read lock→
SQLITE_IOERR_ACCESSI/O error checking file existence/access→
SQLITE_IOERR_CLOSEI/O error closing file descriptor→
SQLITE_IOERR_SHMOPENI/O error opening WAL shared-memory file→
SQLITE_IOERR_SHMSIZEI/O error resizing WAL shared-memory file→
SQLITE_IOERR_GETTEMPPATHI/O error finding a temporary directory→