r89645 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89644‎ | r89645 | r89646 >
Date:13:43, 7 June 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r89589, r89588

Add index hint to remove temporary from query
Modified paths:
  • /trunk/extensions/CodeReview/api/ApiQueryCodePaths.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/api/ApiQueryCodePaths.php
@@ -43,6 +43,7 @@
4444 $db = $this->getDB();
4545
4646 $this->addWhere( 'cp_path ' . $db->buildLike( $params['path'], $db->anyString() ) );
 47+ $this->addOption( 'USE INDEX', 'repo_path' );
4748
4849 $this->addOption( 'LIMIT', 10 );
4950

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89588* (bug 29287) Path searching input need a suggest list...reedy19:01, 6 June 2011
r89589* (bug 29287) Path searching input need a suggest list...reedy19:10, 6 June 2011

Status & tagging log