r108773 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108772‎ | r108773 | r108774 >
Date:22:35, 12 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Followup r108768, callign the right callback helps too
Modified paths:
  • /trunk/phase3/includes/db/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/Database.php
@@ -3185,7 +3185,7 @@
31863186 if ( $done || feof( $fp ) ) {
31873187 $cmd = $this->replaceVars( $cmd );
31883188 if ( $inputCallback ) {
3189 - call_user_func( $resultCallback, $cmd );
 3189+ call_user_func( $inputCallback, $cmd );
31903190 }
31913191 $res = $this->query( $cmd, $fname );
31923192

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108768Add $inputCsllback to sourceStream(), to return full lines back to the callin...reedy22:10, 12 January 2012

Status & tagging log