Reset before close (#90)
This commit is contained in:
parent
84857724c1
commit
79615e6c85
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue