Reset before close (#90)

This commit is contained in:
Brian J. Cardiff 2023-04-24 12:53:56 -03:00 committed by GitHub
parent 84857724c1
commit 79615e6c85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,