[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 15:58:52 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 prettyboymp):

 Replying to [comment:15 ryan]:
 > Bother.  Some plugins are using last_result.

 Can we still create the last_result property for php4 and used the magic
 __get() method to replace it for php5, allowing it to throw a deprecated
 warning?  It isn't the most elegant solution, but it should work.

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


More information about the wp-trac mailing list