r58384 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58383‎ | r58384 | r58385 >
Date:08:44, 31 October 2009
Author:maxsem
Status:ok
Tags:
Comment:
Either we write 'bytes' in both cases, or in neither
Modified paths:
  • /trunk/phase3/maintenance/sqlite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/sqlite.php
@@ -54,7 +54,7 @@
5555 if ( $this->db->query( 'VACUUM' ) ) {
5656 clearstatcache();
5757 $newSize = filesize( $this->db->mDatabaseFile );
58 - $this->output( sprintf( "Database size was %d bytes, now %d (%.1f%% reduction).\n",
 58+ $this->output( sprintf( "Database size was %d, now %d (%.1f%% reduction).\n",
5959 $prevSize, $newSize, ( $prevSize - $newSize) * 100.0 / $prevSize ) );
6060 } else {
6161 $this->output( 'Error\n' );

Status & tagging log