[wp-trac] [WordPress Trac] #12557: get_boundary_post() causes slow SQL_CALC_FOUND_ROWS query.

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 10 18:37:22 UTC 2010


#12557: get_boundary_post() causes slow SQL_CALC_FOUND_ROWS query.
--------------------------+-------------------------------------------------
 Reporter:  ryan          |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0   
Component:  Performance   |      Version:  2.9.2 
 Severity:  normal        |   Resolution:  fixed 
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by automattor):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [13647]) Add no_found_rows argument to WP_Query::get_posts() to allow
 forcibly defeating SQL_CALC_FOUND_ROWS. Use no_found_rows for the query in
 get_boundary_post(). fixes #12557

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


More information about the wp-trac mailing list