[wp-trac] [WordPress Trac] #14426: unneeded "SELECT FOUND_ROWS()" when no posts are found

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 12 15:27:37 UTC 2010


#14426: unneeded "SELECT FOUND_ROWS()" when no posts are found
--------------------------+-------------------------------------------------
 Reporter:  mark-k        |       Owner:     
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.1
Component:  Optimization  |     Version:  3.0
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by mark-k):

 @tmoorewp, IMO no. It doesn't answer the situation in which I would
 generally like to get the number of rows, but at a specific query (a
 search for example) there are simply no matching results.

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


More information about the wp-trac mailing list