[wp-trac] [WordPress Trac] #20838: Don't populate $col_info in production

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 5 08:58:10 UTC 2012


#20838: Don't populate $col_info in production
-------------------------+------------------------------
 Reporter:  GrahamKelly  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:  3.3.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by johnbillion):

 Out of curiosity, is your profiling data available? While it probably is a
 good idea to only fetch this while in debug mode (or maybe while
 SAVEQUERIES is true) I have previously profiled `mysql_fetch_field` and
 found the performance impact is negligable.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20838#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list