Result CodessqlITE_OK 0 /* Successful result *//* beginning-of-error-codes */sqlITE_ERROR 1 /* sql error or missing database */sqlITE_INTERNAL 2 /* Internal logic error in sqlite */sqlITE_PERM 3 /* Access permission denied */sqlITE_ABORT 4 /* Callback routine requested an abort */sqlITE_BUSY 5 /* The database file is locked */sqlITE_LOCKED 6 /* A table in the database is locked */sqlITE_NOMEM 7 /* A malloc() Failed */sqlITE_READONLY 8 /* Attempt to write a readonly database */sqlITE_INTERRUPT 9 /* Operation terminated by sqlite3_interrupt()*/sqlITE_IOERR 10 /* Some kind of disk I/O error occurred */sqlITE_CORRUPT 11 /* The database disk image is malformed */sqlITE_NOTFOUND 12 /* NOT USED. Table or record not found */sqlITE_FULL 13 /* Insertion Failed because database is full */sqlITE_CANTOPEN 14 /* Unable to open the database file */sqlITE_PROTOCOL 15 /* NOT USED. Database lock protocol error */sqlITE_EMPTY 16 /* Database is empty */sqlITE_SCHEMA 17 /* The database schema changed */sqlITE_TOOBIG 18 /* String or BLOB exceeds size limit */sqlITE_CONSTRAINT 19 /* Abort due to constraint violation */sqlITE_MISMATCH 20 /* Data type mismatch */sqlITE_MISUSE 21 /* Library used incorrectly */sqlITE_NOLFS 22 /* Uses OS features not supported on host */sqlITE_AUTH 23 /* Authorization denied */sqlITE_FORMAT 24 /* Auxiliary database format error */sqlITE_RANGE 25 /* 2nd parameter to sqlite3_bind out of range */sqlITE_NOTADB 26 /* File opened that is not a database file */sqlITE_ROW 100 /* sqlite3_step() has another row ready */sqlITE_DONE 101 /* sqlite3_step() has finished executing *//* end-of-error-codes */
原文链接:https://www.f2er.com/sqlite/203104.html