[wp-trac] Re: [WordPress Trac] #8351: Poorly optimized queries in wp_get_archives() and wp_get_calendar()

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 14 00:42:02 GMT 2009


#8351: Poorly optimized queries in wp_get_archives() and wp_get_calendar()
----------------------------------------------------+-----------------------
 Reporter:  vladimir_kolesnikov                     |        Owner:  anonymous
     Type:  defect (bug)                            |       Status:  reopened 
 Priority:  normal                                  |    Milestone:  2.8      
Component:  General                                 |      Version:           
 Severity:  normal                                  |   Resolution:           
 Keywords:  has-patch early mysql queries database  |  
----------------------------------------------------+-----------------------
Changes (by vladimir_kolesnikov):

 * cc: vladimir@… (added)
  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Attched is the patch that fixes the bug for branches/2.7 - no posts for
 subsequent months will be shown and queries become optimized.

 NB: the patch is for branches/2.7 and has not been tested on trunk.

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


More information about the wp-trac mailing list