[wp-trac] Re: [WordPress Trac] #7415: "using filesort" in default install

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 28 08:35:41 GMT 2009


#7415: "using filesort" in default install
------------------------------------------------------------+---------------
 Reporter:  dbuser123                                       |        Owner:  anonymous
     Type:  defect (bug)                                    |       Status:  new      
 Priority:  high                                            |    Milestone:  2.8      
Component:  Optimization                                    |      Version:  2.7      
 Severity:  major                                           |   Resolution:           
 Keywords:  database, optimization, slow queries, filesort  |  
------------------------------------------------------------+---------------
Comment (by mrmist):

 Replying to [comment:26 Denis-de-Bernardy]:
 > of course not. suppose this results in two rows per id:
 >
 > select t1.id natural join
 >
 > then this will return one row per id:
 >
 > select distinct t1.id natural join t2
 >

 Apologies I did not see $join in your query.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7415#comment:28>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list