mirror of
https://github.com/isar/rusqlite.git
synced 2025-12-15 16:02:24 +08:00
Upgrade SQLite bundled version to 3.34.0
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/* automatically generated by rust-bindgen 0.54.1 */
|
||||
/* automatically generated by rust-bindgen 0.56.0 */
|
||||
|
||||
pub const SQLITE_VERSION: &'static [u8; 7usize] = b"3.33.0\0";
|
||||
pub const SQLITE_VERSION_NUMBER: i32 = 3033000;
|
||||
pub const SQLITE_VERSION: &'static [u8; 7usize] = b"3.34.0\0";
|
||||
pub const SQLITE_VERSION_NUMBER: i32 = 3034000;
|
||||
pub const SQLITE_SOURCE_ID: &'static [u8; 85usize] =
|
||||
b"2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f\0";
|
||||
b"2020-12-01 16:14:00 a26b6597e3ae272231b96f9982c3bcc17ddec2f2b6eb4df06a224b91089fed5b\0";
|
||||
pub const SQLITE_OK: i32 = 0;
|
||||
pub const SQLITE_ERROR: i32 = 1;
|
||||
pub const SQLITE_INTERNAL: i32 = 2;
|
||||
@@ -70,6 +70,7 @@ pub const SQLITE_IOERR_BEGIN_ATOMIC: i32 = 7434;
|
||||
pub const SQLITE_IOERR_COMMIT_ATOMIC: i32 = 7690;
|
||||
pub const SQLITE_IOERR_ROLLBACK_ATOMIC: i32 = 7946;
|
||||
pub const SQLITE_IOERR_DATA: i32 = 8202;
|
||||
pub const SQLITE_IOERR_CORRUPTFS: i32 = 8458;
|
||||
pub const SQLITE_LOCKED_SHAREDCACHE: i32 = 262;
|
||||
pub const SQLITE_LOCKED_VTAB: i32 = 518;
|
||||
pub const SQLITE_BUSY_RECOVERY: i32 = 261;
|
||||
@@ -322,6 +323,9 @@ pub const SQLITE_SUBTYPE: i32 = 1048576;
|
||||
pub const SQLITE_INNOCUOUS: i32 = 2097152;
|
||||
pub const SQLITE_WIN32_DATA_DIRECTORY_TYPE: i32 = 1;
|
||||
pub const SQLITE_WIN32_TEMP_DIRECTORY_TYPE: i32 = 2;
|
||||
pub const SQLITE_TXN_NONE: i32 = 0;
|
||||
pub const SQLITE_TXN_READ: i32 = 1;
|
||||
pub const SQLITE_TXN_WRITE: i32 = 2;
|
||||
pub const SQLITE_INDEX_SCAN_UNIQUE: i32 = 1;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_EQ: i32 = 2;
|
||||
pub const SQLITE_INDEX_CONSTRAINT_GT: i32 = 4;
|
||||
@@ -383,7 +387,8 @@ pub const SQLITE_TESTCTRL_PARSER_COVERAGE: i32 = 26;
|
||||
pub const SQLITE_TESTCTRL_RESULT_INTREAL: i32 = 27;
|
||||
pub const SQLITE_TESTCTRL_PRNG_SEED: i32 = 28;
|
||||
pub const SQLITE_TESTCTRL_EXTRA_SCHEMA_CHECKS: i32 = 29;
|
||||
pub const SQLITE_TESTCTRL_LAST: i32 = 29;
|
||||
pub const SQLITE_TESTCTRL_SEEK_COUNT: i32 = 30;
|
||||
pub const SQLITE_TESTCTRL_LAST: i32 = 30;
|
||||
pub const SQLITE_STATUS_MEMORY_USED: i32 = 0;
|
||||
pub const SQLITE_STATUS_PAGECACHE_USED: i32 = 1;
|
||||
pub const SQLITE_STATUS_PAGECACHE_OVERFLOW: i32 = 2;
|
||||
@@ -2417,6 +2422,12 @@ extern "C" {
|
||||
zDbName: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_txn_state(
|
||||
arg1: *mut sqlite3,
|
||||
zSchema: *const ::std::os::raw::c_char,
|
||||
) -> ::std::os::raw::c_int;
|
||||
}
|
||||
extern "C" {
|
||||
pub fn sqlite3_next_stmt(pDb: *mut sqlite3, pStmt: *mut sqlite3_stmt) -> *mut sqlite3_stmt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user