佳木斯湛栽影视文化发展公司

主頁 > 知識庫 > SQLite 錯誤碼整理

SQLite 錯誤碼整理

熱門標簽:網(wǎng)站排名優(yōu)化 百度競價排名 鐵路電話系統(tǒng) 呼叫中心市場需求 服務(wù)外包 地方門戶網(wǎng)站 Linux服務(wù)器 AI電銷
復(fù)制代碼 代碼如下:

#define SQLITE_OK           0   /* 成功 | Successful result */
/* 錯誤碼開始 */
#define SQLITE_ERROR        1   /* SQL錯誤 或 丟失數(shù)據(jù)庫 | SQL error or missing database */
#define SQLITE_INTERNAL     2   /* SQLite 內(nèi)部邏輯錯誤 | Internal logic error in SQLite */
#define SQLITE_PERM         3   /* 拒絕訪問 | Access permission denied */
#define SQLITE_ABORT        4   /* 回調(diào)函數(shù)請求取消操作 | Callback routine requested an abort */
#define SQLITE_BUSY         5   /* 數(shù)據(jù)庫文件被鎖定 | The database file is locked */
#define SQLITE_LOCKED       6   /* 數(shù)據(jù)庫中的一個表被鎖定 | A table in the database is locked */
#define SQLITE_NOMEM        7   /* 某次 malloc() 函數(shù)調(diào)用失敗 | A malloc() failed */
#define SQLITE_READONLY     8   /* 嘗試寫入一個只讀數(shù)據(jù)庫 | Attempt to write a readonly database */
#define SQLITE_INTERRUPT    9   /* 操作被 sqlite3_interupt() 函數(shù)中斷 | Operation terminated by sqlite3_interrupt() */
#define SQLITE_IOERR       10   /* 發(fā)生某些磁盤 I/O 錯誤 | Some kind of disk I/O error occurred */
#define SQLITE_CORRUPT     11   /* 數(shù)據(jù)庫磁盤映像不正確 | The database disk image is malformed */
#define SQLITE_NOTFOUND    12   /* sqlite3_file_control() 中出現(xiàn)未知操作數(shù) | Unknown opcode in sqlite3_file_control() */
#define SQLITE_FULL        13   /* 因為數(shù)據(jù)庫滿導(dǎo)致插入失敗 | Insertion failed because database is full */
#define SQLITE_CANTOPEN    14   /* 無法打開數(shù)據(jù)庫文件 | Unable to open the database file */
#define SQLITE_PROTOCOL    15   /* 數(shù)據(jù)庫鎖定協(xié)議錯誤 | Database lock protocol error */
#define SQLITE_EMPTY       16   /* 數(shù)據(jù)庫為空 | Database is empty */
#define SQLITE_SCHEMA      17   /* 數(shù)據(jù)結(jié)構(gòu)發(fā)生改變 | The database schema changed */
#define SQLITE_TOOBIG      18   /* 字符串或二進制數(shù)據(jù)超過大小限制 | String or BLOB exceeds size limit */
#define SQLITE_CONSTRAINT  19   /* 由于約束違例而取消 | Abort due to constraint violation */
#define SQLITE_MISMATCH    20   /* 數(shù)據(jù)類型不匹配 | Data type mismatch */
#define SQLITE_MISUSE      21   /* 不正確的庫使用 | Library used incorrectly */
#define SQLITE_NOLFS       22   /* 使用了操作系統(tǒng)不支持的功能 | Uses OS features not supported on host */
#define SQLITE_AUTH        23   /* 授權(quán)失敗 | Authorization denied */
#define SQLITE_FORMAT      24   /* 附加數(shù)據(jù)庫格式錯誤 | Auxiliary database format error */
#define SQLITE_RANGE       25   /* 傳遞給sqlite3_bind()的第二個參數(shù)超出范圍 | 2nd parameter to sqlite3_bind out of range */
#define SQLITE_NOTADB      26   /* 被打開的文件不是一個數(shù)據(jù)庫文件 | File opened that is not a database file */
#define SQLITE_ROW         100  /* sqlite3_step() 已經(jīng)產(chǎn)生一個行結(jié)果 | sqlite3_step() has another row ready */
#define SQLITE_DONE        101  /* sqlite3_step() 完成執(zhí)行操作 | sqlite3_step() has finished executing */
/* 錯誤碼結(jié)束 */
您可能感興趣的文章:
  • Android開發(fā)之SQLite的使用方法
  • SQLite 中文指南之FAQ
  • SQLite中的B-Tree實現(xiàn)細節(jié)分析
  • sqlite中文亂碼問題原因分析及解決
  • SQLite3中的日期時間函數(shù)使用小結(jié)
  • sqlite3 top的查詢及l(fā)imit語法介紹
  • SQLite優(yōu)化方法
  • Sqlite 常用函數(shù) 推薦
  • sQlite常用語句以及sQlite developer的使用與注冊

標簽:銅川 崇左 黃山 湘潭 蘭州 湖南 仙桃 衡水

巨人網(wǎng)絡(luò)通訊聲明:本文標題《SQLite 錯誤碼整理》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    建湖县| 英吉沙县| 菏泽市| 柘城县| 柯坪县| 陵川县| 温宿县| 常山县| 吴江市| 河北区| 惠东县| 新巴尔虎右旗| 石棉县| 五常市| 右玉县| 丹江口市| 定兴县| 湘潭县| 林周县| 昌黎县| 库伦旗| 九台市| 余姚市| 东阳市| 西丰县| 侯马市| 成安县| 陆良县| 武鸣县| 郁南县| 浦城县| 轮台县| 威信县| 宜城市| 凤城市| 陆川县| 昭通市| 昭苏县| 开原市| 右玉县| 双鸭山市|