r51528 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51527‎ | r51528 | r51529 >
Date:00:39, 6 June 2009
Author:aaron
Status:ok
Tags:
Comment:
Don't kill whole update process if no log rows to update (fixes r50609)
Modified paths:
  • /trunk/phase3/maintenance/populateLogSearch.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/populateLogSearch.inc
@@ -13,7 +13,8 @@
1414 function migrate_log_params( $db ) {
1515 $start = $db->selectField( 'logging', 'MIN(log_id)', false, __FUNCTION__ );
1616 if( !$start ) {
17 - die("Nothing to do.\n");
 17+ echo "Nothing to do.\n";
 18+ return true;
1819 }
1920 $end = $db->selectField( 'logging', 'MAX(log_id)', false, __FUNCTION__ );
2021

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50609Populate log_search during update.php run and store an update status row when...brion23:06, 14 May 2009

Status & tagging log