Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seddonm1 committed Jul 18, 2024
1 parent b802693 commit c379f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlite-bench"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[dependencies]
Expand Down
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ fn begin(
let mut scan = txn.prepare_cached(SCAN)?;
for random_hex in &scans {
// Consume the results
scan.query_map([random_hex], |row| row.get::<_, i32>(0))?
.filter_map(Result::ok)
.for_each(drop);
scan.query_map([random_hex], |row| row.get::<_, i32>(0))?.for_each(drop);
}
}

Expand Down

0 comments on commit c379f7e

Please sign in to comment.