r68078 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68077‎ | r68078 | r68079 >
Date:14:37, 15 June 2010
Author:platonides
Status:ok
Tags:
Comment:
Follow up r68064. This another query also ended at LinkBatch cache.
Modified paths:
  • /trunk/phase3/includes/OutputPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/OutputPage.php
@@ -768,7 +768,7 @@
769769 $pageTable = $dbr->tableName( 'page' );
770770 $where = $lb->constructSet( 'page', $dbr );
771771 $propsTable = $dbr->tableName( 'page_props' );
772 - $sql = "SELECT page_id, page_namespace, page_title, page_len, page_is_redirect, pp_value
 772+ $sql = "SELECT page_id, page_namespace, page_title, page_len, page_is_redirect, page_latest, pp_value
773773 FROM $pageTable LEFT JOIN $propsTable ON pp_propname='hiddencat' AND pp_page=page_id WHERE $where";
774774 $res = $dbr->query( $sql, __METHOD__ );
775775

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68064Add page_latest to the LinkCache.platonides12:14, 15 June 2010

Status & tagging log