diff --git a/lib/sqlite3/resultset.rb b/lib/sqlite3/resultset.rb index e8cbd62c..24f8d59e 100644 --- a/lib/sqlite3/resultset.rb +++ b/lib/sqlite3/resultset.rb @@ -86,7 +86,7 @@ def next_hash row = @stmt.step return nil if @stmt.done? - Hash[*@stmt.columns.zip(row).flatten] + Hash[@stmt.columns.zip(row)] end end