Fix vtab modules

`xShadowName` added
This commit is contained in:
gwenn 2018-12-15 10:51:02 +01:00
parent ae461b8ed2
commit 287e2f5dbc
4 changed files with 5 additions and 3 deletions

View File

@ -59,7 +59,7 @@ regex = "1.0"
[dependencies.libsqlite3-sys]
path = "libsqlite3-sys"
version = "0.10"
version = "0.11"
[[test]]
name = "config_log"

View File

@ -1,6 +1,6 @@
[package]
name = "libsqlite3-sys"
version = "0.10.1"
version = "0.11.0"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
edition = "2018"
repository = "https://github.com/jgallagher/rusqlite"

View File

@ -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'

View File

@ -99,6 +99,7 @@ pub fn read_only_module<T: CreateVTab>(version: c_int) -> Module<T> {
xSavepoint: None,
xRelease: None,
xRollbackTo: None,
xShadowName: None,
};
Module {
base: ffi_module,
@ -137,6 +138,7 @@ pub fn eponymous_only_module<T: VTab>(version: c_int) -> Module<T> {
xSavepoint: None,
xRelease: None,
xRollbackTo: None,
xShadowName: None,
};
Module {
base: ffi_module,