Skip to content

Commit

Permalink
columns are lazily typecast, so no more calls to result_as_array
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Feb 7, 2012
1 parent 3efbd7f commit a92af3f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -719,7 +719,7 @@ def exec_query(sql, name = 'SQL', binds = [])
} }
end end


ret = Result.new(result.fields, result_as_array(result), types) ret = Result.new(result.fields, result.values, types)
result.clear result.clear
return ret return ret
end end
Expand Down

0 comments on commit a92af3f

Please sign in to comment.