UI Advanced SQLite error code

Source: Internet
Author: User
Tags sql error


1 #define SQLITE_OK 0 / * Success | Successful result * /
 2 / * Start of error code * /
 3 #define SQLITE_ERROR 1 / * SQL error or missing database | SQL error or missing database * /
 4 #define SQLITE_INTERNAL 2 / * SQLite internal logic error | Internal logic error in SQLite * /
 5 #define SQLITE_PERM 3 / * Access permission denied | Access permission denied * /
 6 #define SQLITE_ABORT 4 / * Callback routine requested an abort * /
 7 #define SQLITE_BUSY 5 / * The database file is locked | The database file is locked * /
 8 #define SQLITE_LOCKED 6 / * A table in the database is locked * /
 9 #define SQLITE_NOMEM 7 / * A malloc () function call failed | A malloc () failed * /
10 #define SQLITE_READONLY 8 / * Attempt to write a readonly database * /
11 #define SQLITE_INTERRUPT 9 / * Operation was interrupted by sqlite3_interupt () function | Operation terminated by sqlite3_interrupt () * /
12 #define SQLITE_IOERR 10 / * Some kind of disk I / O error occurred * /
13 #define SQLITE_CORRUPT 11 / * The database disk image is malformed * /
14 #define SQLITE_NOTFOUND 12 / * unknown operand in sqlite3_file_control () | Unknown opcode in sqlite3_file_control () * /
15 #define SQLITE_FULL 13 / * Insertion failed because database is full * /
16 #define SQLITE_CANTOPEN 14 / * Unable to open the database file * /
17 #define SQLITE_PROTOCOL 15 / * Database lock protocol error | Database lock protocol error * /
18 #define SQLITE_EMPTY 16 / * Database is empty * / Database is empty * /
19 #define SQLITE_SCHEMA 17 / * The data structure has changed | The database schema changed * /
20 #define SQLITE_TOOBIG 18 / * String or binary data exceeds size limit | String or BLOB exceeds size limit * /
21 #define SQLITE_CONSTRAINT 19 / * Cancel due to constraint violation | Abort due to constraint violation * /
22 #define SQLITE_MISMATCH 20 / * Data type mismatch | Data type mismatch * /
23 #define SQLITE_MISUSE 21 / * Incorrect library use | Library used incorrectly * /
24 #define SQLITE_NOLFS 22 / * Uses OS features not supported on host * /
25 #define SQLITE_AUTH 23 / * Authorization denied | Authorization denied * /
26 #define SQLITE_FORMAT 24 / * Auxiliary database format error * /
27 #define SQLITE_RANGE 25 / * The second parameter passed to sqlite3_bind () is out of range | 2nd parameter to sqlite3_bind out of range * /
28 #define SQLITE_NOTADB 26 / * File opened that is not a database file * /
29 #define SQLITE_ROW 100 / * sqlite3_step () has produced a row result | sqlite3_step () has another row ready * /
30 #define SQLITE_DONE 101 / * sqlite3_step () completed execution operation | sqlite3_step () has finished executing * /




UI Advanced SQLite error code


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.