mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-25 19:01:38 +08:00
Try to fix Travis build.
This commit is contained in:
parent
823f3c96aa
commit
b19d050e39
@ -120,6 +120,11 @@ fn test_dummy_module() {
|
|||||||
|
|
||||||
db.create_module("dummy", module, None).unwrap();
|
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 mut s = db.prepare("SELECT * FROM dummy()").unwrap();
|
||||||
|
|
||||||
let dummy = s.query_row(&[], |row| row.get::<_, i32>(0)).unwrap();
|
let dummy = s.query_row(&[], |row| row.get::<_, i32>(0)).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user