r80355 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80354‎ | r80355 | r80356 >
Date:23:45, 14 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Bye bye filesorts. Making order by cl_type, and then addWhereRange adds cl_sortkey, cl_from to this ORDER BY
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryCategoryMembers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryCategoryMembers.php
@@ -116,6 +116,8 @@
117117
118118 $this->addOption( 'USE INDEX', 'cl_timestamp' );
119119 } else {
 120+ $this->addOption( 'ORDER BY', 'cl_type' );
 121+
120122 $this->addWhereRange( 'cl_sortkey',
121123 $dir,
122124 $params['startsortkey'],

Follow-up revisions

RevisionCommit summaryAuthorDate
r80540Various fixes for API category changes:...catrope00:13, 19 January 2011
r807221.17: MFT r80324, r80326, r80328, r80339, r80350, r80351, r80355, r80358, r80...catrope23:00, 21 January 2011

Status & tagging log