r23789 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r23788‎ | r23789 | r23790 >
Date:15:52, 6 July 2007
Author:brion
Status:old
Tags:
Comment:
fix an updater check for ResultWrapper usage
Modified paths:
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -354,7 +354,7 @@
355355 return;
356356 $logging = $wgDatabase->tableName( 'logging' );
357357 $res = $wgDatabase->query( "SELECT log_title FROM $logging LIMIT 0" );
358 - $flags = explode( ' ', mysql_field_flags( $res, 0 ) );
 358+ $flags = explode( ' ', mysql_field_flags( $res->result, 0 ) );
359359 $wgDatabase->freeResult( $res );
360360
361361 if( in_array( 'binary', $flags ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r23912Merged revisions 23662-23909 via svnmerge from...david18:11, 9 July 2007

Status & tagging log