mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41:37 +08:00
Remove unused vtab_v3 feature while I'm here
This commit is contained in:
parent
7e4ff77a43
commit
f5c20abaa1
@ -42,8 +42,6 @@ sqlcipher = ["libsqlite3-sys/sqlcipher"]
|
|||||||
unlock_notify = ["libsqlite3-sys/unlock_notify"]
|
unlock_notify = ["libsqlite3-sys/unlock_notify"]
|
||||||
# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
|
# xSavepoint, xRelease and xRollbackTo: 3.7.7 (2011-06-23)
|
||||||
vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"]
|
vtab = ["libsqlite3-sys/min_sqlite_version_3_7_7", "lazy_static"]
|
||||||
# xShadowName: 3.26.0
|
|
||||||
vtab_v3 = ["vtab"]
|
|
||||||
csvtab = ["csv", "vtab"]
|
csvtab = ["csv", "vtab"]
|
||||||
# pointer passing interfaces: 3.20.0
|
# pointer passing interfaces: 3.20.0
|
||||||
array = ["vtab"]
|
array = ["vtab"]
|
||||||
|
@ -70,8 +70,7 @@ unsafe impl<T: VTab> Send for Module<T> {}
|
|||||||
unsafe impl<T: VTab> Sync for Module<T> {}
|
unsafe impl<T: VTab> Sync for Module<T> {}
|
||||||
|
|
||||||
// Used as a trailing initializer for sqlite3_module -- this way we avoid having
|
// Used as a trailing initializer for sqlite3_module -- this way we avoid having
|
||||||
// the build fail if buildtime_bindgen is on, our bindings have
|
// the build fail if buildtime_bindgen is on
|
||||||
// `sqlite3_module::xShadowName`, but vtab_v3 wasn't specified.
|
|
||||||
fn zeroed_module() -> ffi::sqlite3_module {
|
fn zeroed_module() -> ffi::sqlite3_module {
|
||||||
// This is safe, as bindgen-generated structs are allowed to be zeroed.
|
// This is safe, as bindgen-generated structs are allowed to be zeroed.
|
||||||
unsafe { std::mem::MaybeUninit::zeroed().assume_init() }
|
unsafe { std::mem::MaybeUninit::zeroed().assume_init() }
|
||||||
|
Loading…
Reference in New Issue
Block a user