Reset before close

This commit is contained in:
Brian J. Cardiff 2023-03-24 22:54:40 -03:00
parent 84857724c1
commit d759ae0a9b

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,