mirror of
https://github.com/isar/rusqlite.git
synced 2025-01-20 05:50:50 +08:00
Fix failing rarray test (#664)
This commit is contained in:
parent
2a04f06a3a
commit
3ae52545a9
@ -180,7 +180,7 @@ mod test {
|
|||||||
array::load_module(&db).unwrap();
|
array::load_module(&db).unwrap();
|
||||||
|
|
||||||
let v = vec![1i64, 2, 3, 4];
|
let v = vec![1i64, 2, 3, 4];
|
||||||
let values = v.into_iter().map(Value::from).collect();
|
let values: Vec<Value> = v.into_iter().map(Value::from).collect();
|
||||||
let ptr = Rc::new(values);
|
let ptr = Rc::new(values);
|
||||||
{
|
{
|
||||||
let mut stmt = db.prepare("SELECT value from rarray(?);").unwrap();
|
let mut stmt = db.prepare("SELECT value from rarray(?);").unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user