Searched refs:update_stmt (Results 1 – 1 of 1) sorted by relevance
1226 let mut update_stmt = db.prepare("UPDATE foo SET x=? WHERE x<?").unwrap(); in test_prepare_execute() localVariable1227 assert_eq!(update_stmt.execute(&[3i32, 3i32]).unwrap(), 2); in test_prepare_execute()1228 assert_eq!(update_stmt.execute(&[3i32, 3i32]).unwrap(), 0); in test_prepare_execute()1229 assert_eq!(update_stmt.execute(&[8i32, 8i32]).unwrap(), 3); in test_prepare_execute()