diff --git a/Cargo.toml b/Cargo.toml index 1f91517..f21e575 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,8 @@ sqlcipher = ["libsqlite3-sys/sqlcipher"] unlock_notify = ["libsqlite3-sys/unlock_notify"] # xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23) vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"] +# xShadowName: 3.26.0 +vtab_v3 = ["vtab"] csvtab = ["csv", "vtab"] # pointer passing interfaces: 3.20.0 array = ["vtab"] diff --git a/src/vtab/mod.rs b/src/vtab/mod.rs index ad0c924..e58616f 100644 --- a/src/vtab/mod.rs +++ b/src/vtab/mod.rs @@ -99,6 +99,7 @@ pub fn read_only_module(version: c_int) -> Module { xSavepoint: None, xRelease: None, xRollbackTo: None, + #[cfg(any(feature = "bundled", feature = "vtab_v3"))] xShadowName: None, }; Module { @@ -138,6 +139,7 @@ pub fn eponymous_only_module(version: c_int) -> Module { xSavepoint: None, xRelease: None, xRollbackTo: None, + #[cfg(any(feature = "bundled", feature = "vtab_v3"))] xShadowName: None, }; Module {