change to non-closure iterator

This commit is contained in:
Jaremy Creechley 2023-09-25 16:16:00 -07:00
parent 0efc7f6c4b
commit 85352e8bc5
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -166,7 +166,6 @@ proc query*(
proc close*(handle: var DbQueryHandle[RawStmtPtr]) =
if not handle.closed:
handle.closed = true
echo "sqlite backend: query: finally close"
discard sqlite3_reset(handle.env)
discard sqlite3_clear_bindings(handle.env)
handle.env.dispose()