Wow major typo, r91763
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 8 Jul 2011 22:15:29 +0000 (22:15 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 8 Jul 2011 22:15:29 +0000 (22:15 +0000)
maintenance/cleanupTable.inc

index 60f2346..f63c6d7 100644 (file)
@@ -102,7 +102,7 @@ class TableCleanup extends Maintenance {
 
                $table = $params['table'];
                // count(*) would melt the DB for huge tables, we can estimate here
-               $dbr->estimateRowCount( $table, '*', '', __METHOD__ );
+               $count = $dbr->estimateRowCount( $table, '*', '', __METHOD__ );
                $this->init( $count, $table );
                $this->output( "Processing $table...\n" );