r66557 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66556‎ | r66557 | r66558 >
Date:08:20, 17 May 2010
Author:nikerabbit
Status:ok
Tags:
Comment:
Fix messed output
Modified paths:
  • /trunk/phase3/maintenance/mctest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/mctest.php
@@ -40,7 +40,7 @@
4141 $wgMemCachedServers = array( $this->getArg() );
4242
4343 foreach ( $wgMemCachedServers as $server ) {
44 - $this->output( $server . " " );
 44+ $this->output( $server . " ", $server );
4545 $mcc = new MemCachedClientforWiki( array('persistant' => true) );
4646 $mcc->set_servers( array( $server ) );
4747 $set = 0;
@@ -65,7 +65,7 @@
6666 }
6767 $exectime = $this->microtime_float() - $time_start;
6868
69 - $this->output( "set: $set incr: $incr get: $get time: $exectime\n" );
 69+ $this->output( "set: $set incr: $incr get: $get time: $exectime", $server );
7070 }
7171 }
7272

Status & tagging log