欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

SQLite 錯(cuò)誤碼整理

 更新時(shí)間:2013年12月18日 00:23:24   作者:  
這篇文章主要介紹了SQLite 錯(cuò)誤碼,方便大家在開發(fā)過程中快速解決問題
復(fù)制代碼 代碼如下:

#define SQLITE_OK           0   /* 成功 | Successful result */
/* 錯(cuò)誤碼開始 */
#define SQLITE_ERROR        1   /* SQL錯(cuò)誤 或 丟失數(shù)據(jù)庫 | SQL error or missing database */
#define SQLITE_INTERNAL     2   /* SQLite 內(nèi)部邏輯錯(cuò)誤 | 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ù)庫中的一個(gè)表被鎖定 | A table in the database is locked */
#define SQLITE_NOMEM        7   /* 某次 malloc() 函數(shù)調(diào)用失敗 | A malloc() failed */
#define SQLITE_READONLY     8   /* 嘗試寫入一個(gè)只讀數(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 錯(cuò)誤 | 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   /* 因?yàn)閿?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é)議錯(cuò)誤 | 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   /* 字符串或二進(jìn)制數(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ù)庫格式錯(cuò)誤 | Auxiliary database format error */
#define SQLITE_RANGE       25   /* 傳遞給sqlite3_bind()的第二個(gè)參數(shù)超出范圍 | 2nd parameter to sqlite3_bind out of range */
#define SQLITE_NOTADB      26   /* 被打開的文件不是一個(gè)數(shù)據(jù)庫文件 | File opened that is not a database file */
#define SQLITE_ROW         100  /* sqlite3_step() 已經(jīng)產(chǎn)生一個(gè)行結(jié)果 | sqlite3_step() has another row ready */
#define SQLITE_DONE        101  /* sqlite3_step() 完成執(zhí)行操作 | sqlite3_step() has finished executing */
/* 錯(cuò)誤碼結(jié)束 */

相關(guān)文章

  • SQLite速度評測代碼

    SQLite速度評測代碼

    SQLite 作為一個(gè)輕量級嵌入式數(shù)據(jù)庫,還是非常好用的。雨痕極力推薦~~~~~~
    2008-09-09
  • SQLITE3 使用總結(jié)

    SQLITE3 使用總結(jié)

    Sqlite3 的確很好用。小巧、速度快。但是因?yàn)榉俏④浀漠a(chǎn)品,幫助文檔總覺得不夠。這些天再次研究它,又有一些收獲,這里把我對 sqlite3 的研究列出來,以備忘記。也希望能對大家有所幫助。
    2014-08-08
  • SQL中使用ESCAPE定義轉(zhuǎn)義符詳解

    SQL中使用ESCAPE定義轉(zhuǎn)義符詳解

    這篇文章主要介紹了SQL中使用ESCAPE定義轉(zhuǎn)義符的相關(guān)資料,需要的朋友可以參考下
    2016-09-09
  • SQLite教程(四):內(nèi)置函數(shù)

    SQLite教程(四):內(nèi)置函數(shù)

    這篇文章主要介紹了SQLite教程(四):內(nèi)置函數(shù),本文講解了聚合函數(shù)、核心函數(shù)、日期和時(shí)間函數(shù)、,需要的朋友可以參考下
    2015-05-05
  • sqlite時(shí)間戳轉(zhuǎn)時(shí)間語句(時(shí)間轉(zhuǎn)時(shí)間戳)

    sqlite時(shí)間戳轉(zhuǎn)時(shí)間語句(時(shí)間轉(zhuǎn)時(shí)間戳)

    這篇文章主要介紹了sqlite時(shí)間戳轉(zhuǎn)時(shí)間、時(shí)間轉(zhuǎn)時(shí)間戳的方法,需要的朋友可以參考下
    2014-06-06
  • 一些很有用的SQLite命令總結(jié)

    一些很有用的SQLite命令總結(jié)

    這篇文章主要介紹了一些很有用的SQLite命令總結(jié),本文總結(jié)了顯示表結(jié)構(gòu)、獲取所有表和視圖、獲取指定表的索引列表、導(dǎo)出數(shù)據(jù)庫到 SQL 文件、從 SQL 文件導(dǎo)入數(shù)據(jù)庫等一些非常有用的操作命令,需要的朋友可以參考下
    2015-07-07
  • SQLite 內(nèi)存數(shù)據(jù)庫學(xué)習(xí)手冊

    SQLite 內(nèi)存數(shù)據(jù)庫學(xué)習(xí)手冊

    這篇文章主要介紹SQLite 內(nèi)存數(shù)據(jù)庫的使用方法, 需要的朋友可以參考下
    2013-12-12
  • SQLite教程(三):數(shù)據(jù)表和視圖簡介

    SQLite教程(三):數(shù)據(jù)表和視圖簡介

    這篇文章主要介紹了SQLite教程(三):數(shù)據(jù)表和視圖簡介,本文講解了創(chuàng)建數(shù)據(jù)表、表的修改、表的刪除、創(chuàng)建視圖、刪除視圖等內(nèi)容,需要的朋友可以參考下
    2015-05-05
  • SQLite優(yōu)化方法

    SQLite優(yōu)化方法

    SQLite的數(shù)據(jù)庫本質(zhì)上來講就是一個(gè)磁盤上的文件,所以一切的數(shù)據(jù)庫操作其實(shí)都會轉(zhuǎn)化為對文件的操作,而頻繁的文件操作將會是一個(gè)很好時(shí)的過程,會極大地影響數(shù)據(jù)庫存取的速度。
    2008-09-09
  • SQLite教程(十二):鎖和并發(fā)控制詳解

    SQLite教程(十二):鎖和并發(fā)控制詳解

    這篇文章主要介紹了SQLite教程(十二):鎖和并發(fā)控制詳解,本文講解了鎖和并發(fā)控制機(jī)制概述、文件鎖、回滾日志、數(shù)據(jù)寫入、SQL級別的事務(wù)控制等內(nèi)容,需要的朋友可以參考下
    2015-05-05

最新評論