Index: trunk/phase3/includes/installer/MysqlUpdater.php |
— | — | @@ -311,6 +311,7 @@ |
312 | 312 | $this->output( wfTimestamp( TS_DB ) ); |
313 | 313 | $this->output( "......<b>Found duplicate entries</b>\n" ); |
314 | 314 | $this->output( sprintf( "<b> %-60s %3s %5s</b>\n", 'Title', 'NS', 'Count' ) ); |
| 315 | + $duplicate = array(); |
315 | 316 | foreach ( $rows as $row ) { |
316 | 317 | if ( ! isset( $duplicate[$row->cur_namespace] ) ) { |
317 | 318 | $duplicate[$row->cur_namespace] = array(); |
— | — | @@ -622,7 +623,7 @@ |
623 | 624 | $rows = $this->db->affectedRows(); |
624 | 625 | |
625 | 626 | if( $rows ) { |
626 | | - $this->output( "Set page_random to a random value on $row rows where it was set to 0\n" ); |
| 627 | + $this->output( "Set page_random to a random value on $rows rows where it was set to 0\n" ); |
627 | 628 | } else { |
628 | 629 | $this->output( "...no page_random rows needed to be set\n" ); |
629 | 630 | } |