[wp-trac] Re: [WordPress Trac] #7599: Inefficient query generation in query_posts [With Suggested Patch]

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 26 18:02:53 GMT 2008


#7599: Inefficient query generation in query_posts [With Suggested Patch]
---------------------+------------------------------------------------------
 Reporter:  pedrop   |        Owner:  pedrop
     Type:  defect   |       Status:  new   
 Priority:  normal   |    Milestone:  2.7   
Component:  General  |      Version:        
 Severity:  normal   |   Resolution:        
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by ryan):

 Maybe we should consider adding wpdb::supports_subqueries() and
 conditionally use subqueries for category__not_in if the mysql version
 supports it.  If it is not supported, use the current query.

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


More information about the wp-trac mailing list