lib/sequel/adapters/cubrid.rb in sequel-4.15.0 vs lib/sequel/adapters/cubrid.rb in sequel-4.16.0

- old
+ new

@@ -122,10 +122,9 @@ Database::DatasetClass = self def fetch_rows(sql) execute(sql) do |stmt| begin - procs = cols = stmt.column_info.map{|c| [output_identifier(c[COLUMN_INFO_NAME]), CUBRID_TYPE_PROCS[c[COLUMN_INFO_TYPE]]]} @columns = cols.map{|c| c.first} stmt.each do |r| row = {} cols.zip(r).each{|(k, p), v| row[k] = (v && p) ? p.call(v) : v}