r49049 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49048‎ | r49049 | r49050 >
Date:23:13, 30 March 2009
Author:aaron
Status:ok
Tags:
Comment:
Fixed fatal from r49045
Modified paths:
  • /trunk/phase3/includes/QueryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/QueryPage.php
@@ -245,7 +245,7 @@
246246
247247 # Save results into the querycache table on the master
248248 if ( count( $vals ) ) {
249 - if ( !$dbw->insert( 'querycache', $vals, __METHOD__ ) {
 249+ if ( !$dbw->insert( 'querycache', $vals, __METHOD__ ) ) {
250250 // Set result to false to indicate error
251251 $dbr->freeResult( $res );
252252 $res = false;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49045Kill raw SQL in QueryPage::recache(). I can't find any code that actually cal...catrope20:04, 30 March 2009

Status & tagging log