mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-20 21:50:52 +08:00
Update for RowIndex change
This commit is contained in:
parent
a9a953e6b7
commit
ed0923bba9
@ -133,7 +133,7 @@ mod test {
|
||||
let mut stmt = cache.get(sql).unwrap();
|
||||
assert_eq!(0, cache.len());
|
||||
assert_eq!(0,
|
||||
stmt.query(&[]).unwrap().get_expected_row().unwrap().get::<i64>(0));
|
||||
stmt.query(&[]).unwrap().get_expected_row().unwrap().get::<i32,i64>(0));
|
||||
}
|
||||
assert_eq!(1, cache.len());
|
||||
|
||||
@ -141,7 +141,7 @@ mod test {
|
||||
let mut stmt = cache.get(sql).unwrap();
|
||||
assert_eq!(0, cache.len());
|
||||
assert_eq!(0,
|
||||
stmt.query(&[]).unwrap().get_expected_row().unwrap().get::<i64>(0));
|
||||
stmt.query(&[]).unwrap().get_expected_row().unwrap().get::<i32,i64>(0));
|
||||
}
|
||||
assert_eq!(1, cache.len());
|
||||
|
||||
@ -160,7 +160,7 @@ mod test {
|
||||
let mut stmt = cache.get(sql).unwrap();
|
||||
assert_eq!(0, cache.len());
|
||||
assert_eq!(0,
|
||||
stmt.query(&[]).unwrap().get_expected_row().unwrap().get::<i64>(0));
|
||||
stmt.query(&[]).unwrap().get_expected_row().unwrap().get::<i32,i64>(0));
|
||||
stmt.cacheable = false;
|
||||
}
|
||||
assert_eq!(0, cache.len());
|
||||
|
Loading…
x
Reference in New Issue
Block a user