[wp-trac] [WordPress Trac] #42256: Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches posts_per_page

WordPress Trac noreply at wordpress.org
Tue Nov 21 03:39:16 UTC 2017


#42256: Skip SQL_CALC_FOUND_ROWS when using post__in whose count matches
posts_per_page
-------------------------------+------------------------------
 Reporter:  ethitter           |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:   => reporter-feedback


Comment:

 I'm inclined to agree with @boonebgorges here.

 Perhaps including an example use-case and the impact it has upon
 performance will help sway it from "I don't see the need" to "That seems
 like a worthwhile shortcut to take".

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


More information about the wp-trac mailing list