Check current SQLite version while registering module

This commit is contained in:
gwenn
2022-04-04 10:29:35 +02:00
committed by Thom Chiovoloni
parent 6e0684b69f
commit 33e5f127cf
2 changed files with 12 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ fn test_dummy_module() -> rusqlite::Result<()> {
db.create_module::<DummyTab>("dummy", module, None)?;
let version = version_number();
if version < 3_008_012 {
if version < 3_009_000 {
return Ok(());
}