Barry Robison
Not a member
Barry Robison's latest activity
Thursday, August 21 2008
-
Barry Robison commented at 11:28 AMhere's a similar method for not calling SHOW FIELDS every time a table is accessed, also seem to help speed.
def columns(table_name, name = nil)#:nodoc:... -
Barry Robison commented at 11:21 AMSorry I don't really know Ruby, just trying to performance analyze an app. The last statement in the block is the return value right? In the original patch that...
-
Barry Robison commented at 10:45 AMI believe that should be
def tables(name = nil) #:nodoc: tables = []execute("SHOW TABLES", name).each { |field| tables << field[0] }execute("SH...