From: Chad Horohoe Date: Tue, 28 Oct 2008 17:51:38 +0000 (+0000) Subject: Use FORCE INDEX here, because Domas said we should :) All hail Domas. X-Git-Tag: 1.31.0-rc.0~44533 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=efad3a8b76f2dc194dc051833eafe359b4fdb551;p=lhc%2Fweb%2Fwiklou.git Use FORCE INDEX here, because Domas said we should :) All hail Domas. --- diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index e7af8d83e2..6a90658a7e 100644 --- a/includes/api/ApiQueryUserContributions.php +++ b/includes/api/ApiQueryUserContributions.php @@ -177,6 +177,7 @@ class ApiQueryContributions extends ApiQueryBase { $this->addWhereIf('rev_minor_edit != 0', isset ($show['minor'])); } $this->addOption('LIMIT', $this->params['limit'] + 1); + $this->addOption( 'FORCE INDEX', 'user_name' ); // Mandatory fields: timestamp allows request continuation // ns+title checks if the user has access rights for this page