mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
add cpython compatibility for error codes and messages
edits minor edit
This commit is contained in:
parent
ba0aa663ee
commit
c90f7b8222
3 changed files with 150 additions and 5 deletions
|
@ -7,8 +7,12 @@
|
|||
|
||||
#define SQLITE_ERROR 1
|
||||
|
||||
#define SQLITE_ABORT 4
|
||||
|
||||
#define SQLITE_BUSY 5
|
||||
|
||||
#define SQLITE_NOMEM 7
|
||||
|
||||
#define SQLITE_NOTFOUND 14
|
||||
|
||||
#define SQLITE_MISUSE 21
|
||||
|
@ -17,6 +21,14 @@
|
|||
|
||||
#define SQLITE_DONE 101
|
||||
|
||||
#define SQLITE_ABORT_ROLLBACK (SQLITE_ABORT | (2 << 8))
|
||||
|
||||
#define SQLITE_STATE_OPEN 118
|
||||
|
||||
#define SQLITE_STATE_SICK 186
|
||||
|
||||
#define SQLITE_STATE_BUSY 109
|
||||
|
||||
typedef struct sqlite3 sqlite3;
|
||||
|
||||
typedef struct sqlite3_stmt sqlite3_stmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue