diff --git a/src/config.rs b/src/config.rs index d0fa41a..833d80f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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 { diff --git a/src/vtab/mod.rs b/src/vtab/mod.rs index f070e3a..ea63601 100644 --- a/src/vtab/mod.rs +++ b/src/vtab/mod.rs @@ -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"`