# File lib/dbi/handles/statement.rb, line 307
307:         def fetch_many(cnt)
308:             raise InterfaceError, "Statement was already closed!" if @handle.nil?
309:             raise InterfaceError, "Statement must first be executed" unless @fetchable
310: 
311:             cols = column_names
312:             rows = @handle.fetch_many(cnt)
313:             if rows.nil?
314:                 @handle.cancel
315:                 @fetchable = false
316:                 return []
317:             else
318:                 return rows.collect{|r| tmp = @row.dup; tmp.set_values(r); tmp }
319:             end
320:         end