From c379f7ecdd93778989b2448fee80b2229ec31cf8 Mon Sep 17 00:00:00 2001 From: Mike Seddon Date: Thu, 18 Jul 2024 11:40:07 +1000 Subject: [PATCH] v0.2.0 --- Cargo.toml | 2 +- src/main.rs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1106936..9f52a38 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlite-bench" -version = "0.1.0" +version = "0.2.0" edition = "2021" [dependencies] diff --git a/src/main.rs b/src/main.rs index 07f9b60..b27e1f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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); } }