mirror of
https://gitea.invidious.io/iv-org/shard-crystal-sqlite3.git
synced 2024-08-15 00:53:26 +00:00
Reset before close (#90)
This commit is contained in:
parent
84857724c1
commit
79615e6c85
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue