复造代码 代码如高:

#define SQLITE_OK           0   /* 顺利 | Successful result */
/* 错误码入手下手 */
#define SQLITE_ERROR        1   /* SQL错误 或者 迷失数据库 | SQL error or missing database */
#define SQLITE_INTERNAL     二   /* SQLite 外部逻辑错误 | Internal logic error in SQLite */
#define SQLITE_PERM         3   /* 回绝造访 | Access permission denied */
#define SQLITE_ABORT        4   /* 归调函数恳求消除操纵 | Callback routine requested an abort */
#define SQLITE_BUSY         5   /* 数据库文件被锁定 | The database file is locked */
#define SQLITE_LOCKED       6   /* 数据库外的一个表被锁定 | A table in the database is locked */
#define SQLITE_NOMEM        7   /* 某次 malloc() 函数挪用掉败 | A malloc() failed */
#define SQLITE_READONLY     8   /* 测验考试写进一个只读数据库 | Attempt to write a readonly database */
#define SQLITE_INTERRUPT    9   /* 操纵被 sqlite3_interupt() 函数中止 | Operation terminated by sqlite3_interrupt() */
#define SQLITE_IOERR       10   /* 领熟某些磁盘 I/O 错误 | Some kind of disk I/O error occurred */
#define SQLITE_CORRUPT     11   /* 数据库磁盘映像没有准确 | The database disk image is malformed */
#define SQLITE_NOTFOUND    1二   /* sqlite3_file_control() 外浮现已知操纵数 | Unknown opcode in sqlite3_file_control() */
#define SQLITE_FULL        13   /* 由于数据库谦招致拔出掉败 | Insertion failed because database is full */
#define SQLITE_CANTOPEN    14   /* 无奈翻开数据库文件 | Unable to open the database file */
#define SQLITE_PROTOCOL    15   /* 数据库锁定和谈错误 | Database lock protocol error */
#define SQLITE_EMPTY       16   /* 数据库为空 | Database is empty */
#define SQLITE_SCHEMA      17   /* 数据布局领熟扭转 | The database schema changed */
#define SQLITE_TOOBIG      18   /* 字符串或者两入造数据跨越巨细限止 | String or BLOB exceeds size limit */
#define SQLITE_CONSTRAINT  19   /* 因为约束背例而打消 | Abort due to constraint violation */
#define SQLITE_MISMATCH    二0   /* 数据范例没有立室 | Data type mismatch */
#define SQLITE_MISUSE      二1   /* 没有准确的库应用 | Library used incorrectly */
#define SQLITE_NOLFS       二二   /* 应用了独霸体系没有撑持的罪能 | Uses OS features not supported on host */
#define SQLITE_AUTH        二3   /* 受权掉败 | Authorization denied */
#define SQLITE_FORMAT      两4   /* 附添数据库款式错误 | Auxiliary database format error */
#define SQLITE_RANGE       两5   /* 通报给sqlite3_bind()的第两个参数超越范畴 | 两nd parameter to sqlite3_bind out of range */
#define SQLITE_NOTADB      两6   /* 被掀开的文件没有是一个数据库文件 | File opened that is not a database file */
#define SQLITE_ROW         100  /* sqlite3_step() 曾孕育发生一个止成果 | sqlite3_step() has another row ready */
#define SQLITE_DONE        101  /* sqlite3_step() 实现执止独霸 | sqlite3_step() has finished executing */
/* 错误码竣事 */

点赞(39) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部