Add xShadowName only if bundled or vtab_v3 activated

This commit is contained in:
gwenn
2018-12-15 11:53:41 +01:00
parent 287e2f5dbc
commit 75c0fe349a
2 changed files with 4 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ pub fn read_only_module<T: CreateVTab>(version: c_int) -> Module<T> {
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<T: VTab>(version: c_int) -> Module<T> {
xSavepoint: None,
xRelease: None,
xRollbackTo: None,
#[cfg(any(feature = "bundled", feature = "vtab_v3"))]
xShadowName: None,
};
Module {