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

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 7 18:51:24 UTC 2012


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

 * keywords:  needs-patch => has-patch


Comment:

 New patch uses a magic getter to only load column info when requested.

 The only downside of this is that we can't do the `mysql_free_result(
 $this->result )` in `wpdb::query()`, so I've moved it to `wpdb::flush()`.

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


More information about the wp-trac mailing list