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
|
@column_index = 0
|
||||||
|
|
||||||
protected def do_close
|
protected def do_close
|
||||||
super
|
|
||||||
LibSQLite3.reset(self)
|
LibSQLite3.reset(self)
|
||||||
|
super
|
||||||
end
|
end
|
||||||
|
|
||||||
# Advances to the next row. Returns `true` if there's a next row,
|
# Advances to the next row. Returns `true` if there's a next row,
|
||||||
|
|
Loading…
Reference in New Issue