From d759ae0a9b1fb6f1910badd9fa251c4fd4153b33 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Fri, 24 Mar 2023 22:54:40 -0300 Subject: [PATCH] Reset before close --- src/sqlite3/result_set.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite3/result_set.cr b/src/sqlite3/result_set.cr index 209aab6..9955129 100644 --- a/src/sqlite3/result_set.cr +++ b/src/sqlite3/result_set.cr @@ -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,