# File lib/dbi/handles/statement.rb, line 304 def fetch_many(cnt) sanity_check({:fetchable => true, :prepared => true, :executed => true}) cols = column_names rows = @handle.fetch_many(cnt) if rows.nil? or rows.empty? @handle.cancel @fetchable = false return [] else return rows.collect{|r| tmp = @row.dup; tmp.set_values(r); tmp } end end