[buddypress-trac] [BuddyPress Trac] #5448: Remove SQL Hints from Activities class

buddypress-trac noreply at wordpress.org
Thu Mar 6 20:34:16 UTC 2014

#5448: Remove SQL Hints from Activities class
 Reporter:  zippykid     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  2.0
Component:  Activity     |     Version:  1.9.2
 Severity:  normal       |  Resolution:
 Keywords:               |

Comment (by boonebgorges):

 In [changeset:"8071"]:
 #!CommitTicketReference repository="" revision="8071"
 Streamline COUNT query in BP_Activity_Activity::get

 It's unnecessary to use an ORDER BY clause when counting, and the index
 was doing more harm than good, especially in cases where a specific ID was

 See #5448

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5448#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list