Followup r83849, fix join to be on indexed user_name
This commit is contained in:
parent
c5b4e5be2c
commit
82dd198876
1 changed files with 1 additions and 1 deletions
|
|
@ -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' );
|
||||
|
|
|
|||
Loading…
Reference in a new issue