Skip to content

Commit c379f7e

Browse files
committed
v0.2.0
1 parent b802693 commit c379f7e

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sqlite-bench"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
edition = "2021"
55

66
[dependencies]

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@ fn begin(
199199
let mut scan = txn.prepare_cached(SCAN)?;
200200
for random_hex in &scans {
201201
// Consume the results
202-
scan.query_map([random_hex], |row| row.get::<_, i32>(0))?
203-
.filter_map(Result::ok)
204-
.for_each(drop);
202+
scan.query_map([random_hex], |row| row.get::<_, i32>(0))?.for_each(drop);
205203
}
206204
}
207205

0 commit comments

Comments
 (0)