[wp-trac] [WordPress Trac] #12257: wpdb Scales Badly Due to Unnecessary Copies of All Query Results

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 26 20:13:37 UTC 2010


#12257: wpdb Scales Badly Due to Unnecessary Copies of All Query Results
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  ryan            
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  3.1             
Component:  Database      |     Version:                  
 Severity:  critical      |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------

Comment(by nacin):

 last_result is supposed to be private. Tempting to do it anyway.

 I recall reading this from "Professional WordPress" --
 http://p2p.wrox.com/content/articles/wordpress-database-queries-
 operations-and-errors, which lists a bunch of private variables. I will
 make sure no private variables sneak into Brad's next book. :-)

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


More information about the wp-trac mailing list