From 287e2f5dbc7205eaee25e0a555a3cf70aaa08c26 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 15 Dec 2018 10:51:02 +0100 Subject: [PATCH] Fix vtab modules `xShadowName` added --- Cargo.toml | 2 +- libsqlite3-sys/Cargo.toml | 2 +- libsqlite3-sys/upgrade.sh | 2 +- src/vtab/mod.rs | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 94abf17..1f91517 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,7 @@ regex = "1.0" [dependencies.libsqlite3-sys] path = "libsqlite3-sys" -version = "0.10" +version = "0.11" [[test]] name = "config_log" diff --git a/libsqlite3-sys/Cargo.toml b/libsqlite3-sys/Cargo.toml index cb3e8f8..836292f 100644 --- a/libsqlite3-sys/Cargo.toml +++ b/libsqlite3-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libsqlite3-sys" -version = "0.10.1" +version = "0.11.0" authors = ["John Gallagher "] edition = "2018" repository = "https://github.com/jgallagher/rusqlite" diff --git a/libsqlite3-sys/upgrade.sh b/libsqlite3-sys/upgrade.sh index 5b90365..72b8d1e 100755 --- a/libsqlite3-sys/upgrade.sh +++ b/libsqlite3-sys/upgrade.sh @@ -22,5 +22,5 @@ find $SCRIPT_DIR/target -type f -name bindgen.rs -exec cp {} $SQLITE3_LIB_DIR/bi # Sanity check cd $SCRIPT_DIR/.. cargo update -cargo test --features "backup blob chrono functions limits load_extension serde_json trace bundled" +cargo test --features "backup blob chrono functions limits load_extension serde_json trace vtab bundled" echo 'You should increment the version in libsqlite3-sys/Cargo.toml' diff --git a/src/vtab/mod.rs b/src/vtab/mod.rs index b30db51..ad0c924 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, + xShadowName: None, }; Module { base: ffi_module, @@ -137,6 +138,7 @@ pub fn eponymous_only_module(version: c_int) -> Module { xSavepoint: None, xRelease: None, xRollbackTo: None, + xShadowName: None, }; Module { base: ffi_module,