SQLite error code

Source: Internet
Author: User
Tags sql error
# Define Sqlite_ OK 0/* succeeded | successful result */ /*  Error Code  */  # Define Sqlite_error 1/* SQL errors or database loss | SQL error or missing database */ # Define Sqlite_internal 2/* internal SQLite logic error | internal logic error in SQLite */ # Define Sqlite_perm 3/* Access Denied | access permission denied */ # Define Sqlite_abort 4/* callback function request to cancel the operation | callback routine requested an abort */ # Define Sqlite_busy 5/* database file locked | the database file is locked */ # Define Sqlite_locked 6/* a table in the database is locked | a table in the database is locked */ # Define Sqlite_nomem 7/* A malloc () function call failed | A malloc () failed */ # Define Sqlite_readonly 8/* try to write a read-only database | attempt to write a readonly database */ # Define Sqlite_interrupt 9/* The operation is interrupted by the sqlite3_interupt () function | operation terminated by sqlite3_interrupt ()*/ # Define Sqlite_ioerr 10/* disk I/O errors | some kind of disk I/O error occurred */ # Define Sqlite_0000upt 11/* incorrect database disk image | the database disk image is malformed */ # Define Sqlite_notfound 12/* sqlite3_file_control () contains unknown operands | unknown opcode in sqlite3_file_control ()*/ # Define Sqlite_full 13/* insertion failure due to full database | insertion failed because database is full */ # Define Sqlite_cantopen 14/* Unable to open the database file | unable to open the database file */ # Define Sqlite_protocol 15/* database lock protocol error | database lock protocol error */ # Define Sqlite_empty 16/* the database is empty | database is empty */ # Define Sqlite_schema 17/* data structure changed | the database schema changed */# Define Sqlite_toobig 18/* the size of the string or binary data exceeds the size limit. | string or blob exceeds size limit */ # Define Sqlite_constraint 19/* canceled due to constraints violation | abort due to Constraint Violation */ # Define Sqlite_mismatch 20/* Data Type Mismatch | Data Type Mismatch */ # Define Sqlite_misuse 21/* incorrect library usage | library used incorrectly */ # Define Sqlite_nolfs 22/* features not supported by the operating system are used | uses OS features not supported on Host */ # Define Sqlite_auth 23/* authorization failed | Authorization denied */ # Define Sqlite_format 24/* The format of the additional database is incorrect | auxiliary database format Error */ # Define Sqlite_range 25/* The second parameter passed to sqlite3_bind () exceeds the range | 2nd parameter to sqlite3_bind out of range */ # Define Sqlite_notadb 26/* The opened file is not a database file | file opened that is not a database file */ # Define Sqlite_row 100/* sqlite3_step () has produced a row result | sqlite3_step () has another row ready */ # Define Sqlite_done 101/* sqlite3_step () to complete the execution | sqlite3_step () has finished executing */ /*  Error code ended  */  Girls do not cry (QQ: 191035066 )@ 2012 - 05 - 26   11 : 17 : 31 @ Http: //  Www.cnblogs.com/nbsofer 
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.