Skip to content

Commit

Permalink
Reset before close (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardiff authored Apr 24, 2023
1 parent 8485772 commit 79615e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sqlite3/result_set.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ class SQLite3::ResultSet < DB::ResultSet
@column_index = 0

protected def do_close
super
LibSQLite3.reset(self)
super
end

# Advances to the next row. Returns `true` if there's a next row,
Expand Down

0 comments on commit 79615e6

Please sign in to comment.