[wp-trac] [WordPress Trac] #24093: WP_Meta_Query is inefficient when referencing the same keys in "OR" query

WordPress Trac noreply at wordpress.org
Wed Apr 30 18:54:16 UTC 2014


#24093: WP_Meta_Query is inefficient when referencing the same keys in "OR" query
-------------------------------------------------+-------------------------
 Reporter:  sc0ttkclark                          |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.0
Component:  Query                                |     Version:  3.5.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-refresh meta-query needs-      |     Focuses:
  unit-tests needs-patch                         |  performance
-------------------------------------------------+-------------------------

Comment (by vprat):

 I need badly this fix so I have given it another look. Starting from the
 second patch, I have managed to fix the DB errors that have been
 mentionned by Mr.Defi.

 So here is my patched patch (see above, it is called 24093.2.patch)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24093#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list