mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
add cpython compatibility for error codes and messages
edits minor edit
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user