Add benchmarks for Statement and Cursor

This commit is contained in:
Ivan Ukhov
2015-08-04 08:21:22 -04:00
parent b7206727f3
commit f2e6ac7e03
2 changed files with 90 additions and 1 deletions

View File

@ -70,7 +70,7 @@ fn connection_set_busy_handler() {
}
#[test]
fn cursor() {
fn cursor_workflow() {
let connection = setup(":memory:");
let statement = "SELECT id, name FROM users WHERE id = ?";
let mut cursor = ok!(connection.prepare(statement)).cursor();