ApiQueryLinks: Remove index forcing

Appears to have been added for T16102, which has hopefully been fixed
since. Let's try it and see if queries break.

Bug: T162774
Change-Id: If60442b9c8856b80a071ed9df830f9a3397218c9
This commit is contained in:
Brad Jorsch 2017-04-12 10:07:03 -04:00 committed by Jcrespo
parent 45b00db733
commit f3926df575

View file

@ -137,7 +137,6 @@ class ApiQueryLinks extends ApiQueryGeneratorBase {
$order[] = $this->prefix . '_title' . $sort;
$this->addOption( 'ORDER BY', $order );
$this->addOption( 'USE INDEX', [ $this->table => 'PRIMARY' ] );
$this->addOption( 'LIMIT', $params['limit'] + 1 );
$res = $this->select( __METHOD__ );