[wp-trac] [WordPress Trac] #9720: Why the left joins in wp-include/query.php?

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 12:19:58 GMT 2009


#9720: Why the left joins in wp-include/query.php?
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous
     Type:  defect (bug)       |      Status:  new      
 Priority:  normal             |   Milestone:  2.8      
Component:  Optimization       |     Version:  2.8      
 Severity:  normal             |    Keywords:           
-------------------------------+--------------------------------------------
 While looking into #9635, I noticed a whole bunch of left joins in the
 main queries, where a straightforward join would usually seem perfectly
 valid.

 Are there any reasons for them to be used? Asking, because imporperly used
 left joins can have devastating effects on a query's performance by
 forcing the join order.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9720>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list