From 82dd198876fc4b341c3188a5f10093e8f23386ca Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Mon, 14 Mar 2011 11:07:58 +0000 Subject: [PATCH] Followup r83849, fix join to be on indexed user_name --- includes/api/ApiQueryAllUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index e685e7738f..0376431a1a 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -119,7 +119,7 @@ class ApiQueryAllUsers extends ApiQueryBase { $this->addTables( 'recentchanges' ); $this->addJoinConds( array( 'recentchanges' => array( - 'INNER JOIN', 'rc_user=user_id' + 'INNER JOIN', 'rc_user_text=user_name' ) ) ); $this->addFields( 'COUNT(*) AS recentedits' ); -- 2.20.1