Try to fix Travis build.

This commit is contained in:
gwenn 2018-07-14 11:28:43 +02:00
parent 823f3c96aa
commit b19d050e39

View File

@ -120,6 +120,11 @@ fn test_dummy_module() {
db.create_module("dummy", module, None).unwrap();
let version = unsafe { ffi::sqlite3_libversion_number() };
if version < 3008012 {
return;
}
let mut s = db.prepare("SELECT * FROM dummy()").unwrap();
let dummy = s.query_row(&[], |row| row.get::<_, i32>(0)).unwrap();