We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 635c7bf commit b802693Copy full SHA for b802693
1 file changed
src/main.rs
@@ -198,7 +198,10 @@ fn begin(
198
if !scans.is_empty() {
199
let mut scan = txn.prepare_cached(SCAN)?;
200
for random_hex in &scans {
201
- _ = scan.query_map([random_hex], |row| row.get::<_, i32>(0))?;
+ // Consume the results
202
+ scan.query_map([random_hex], |row| row.get::<_, i32>(0))?
203
+ .filter_map(Result::ok)
204
+ .for_each(drop);
205
}
206
207
0 commit comments