[wp-trac] [WordPress Trac] #19729: WP_Meta_Query is inefficient when only specifying keys in "OR" query

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 16 16:43:02 UTC 2012


#19729: WP_Meta_Query is inefficient when only specifying keys in "OR" query
---------------------------------+------------------
 Reporter:  joehoyle             |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  3.5
Component:  Query                |     Version:  3.3
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.5-early  |
---------------------------------+------------------

Comment (by nacin):

 If the relation is not 'OR' then we should be able to bypass that first
 foreach all together, instead assigning $queries = $this->queries.

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


More information about the wp-trac mailing list