mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-19 22:10:50 +08:00
Add new constants introduced by SQLite 3.42.0
This commit is contained in:
parent
5e079e509c
commit
0c7629ed70
@ -61,6 +61,12 @@ pub enum DbConfig {
|
||||
/// sqlite_master tables) are untainted by malicious content.
|
||||
#[cfg(feature = "modern_sqlite")]
|
||||
SQLITE_DBCONFIG_TRUSTED_SCHEMA = 1017, // 3.31.0
|
||||
/// Sets or clears a flag that enables collection of the sqlite3_stmt_scanstatus_v2() statistics
|
||||
#[cfg(feature = "modern_sqlite")]
|
||||
SQLITE_DBCONFIG_STMT_SCANSTATUS = 1018, // 3.42.0
|
||||
/// Changes the default order in which tables and indexes are scanned
|
||||
#[cfg(feature = "modern_sqlite")]
|
||||
SQLITE_DBCONFIG_REVERSE_SCANORDER = 1019, // 3.42.0
|
||||
}
|
||||
|
||||
impl Connection {
|
||||
|
@ -195,6 +195,8 @@ pub enum VTabConfig {
|
||||
Innocuous = 2,
|
||||
/// Equivalent to SQLITE_VTAB_DIRECTONLY
|
||||
DirectOnly = 3,
|
||||
/// Equivalent to SQLITE_VTAB_USES_ALL_SCHEMAS
|
||||
UsesAllSchemas = 4,
|
||||
}
|
||||
|
||||
/// `feature = "vtab"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user