r84371 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84370‎ | r84371 | r84372 >
Date:11:39, 20 March 2011
Author:hashar
Status:ok
Tags:
Comment:
correct wfDebug() calls added in r79272 & r79368
Modified paths:
  • /trunk/phase3/includes/db/CloneDatabase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/CloneDatabase.php
@@ -99,12 +99,12 @@
100100
101101 if( $this->dropCurrentTables && !in_array( $this->db->getType(), array( 'postgres' ) ) ) {
102102 $this->db->dropTable( $tbl, __METHOD__ );
103 - wfDebug( "Dropping {$this->newTablePrefix}{$oldTableName}\n", __METHOD__ );
 103+ wfDebug( __METHOD__." dropping {$this->newTablePrefix}{$oldTableName}\n", true);
104104 //Dropping the oldTable because the prefix was changed
105105 }
106106
107107 # Create new table
108 - wfDebug( "Duplicating $oldTableName to $newTableName\n", __METHOD__ );
 108+ wfDebug( __METHOD__." duplicating $oldTableName to $newTableName\n", true );
109109 $this->db->duplicateTableStructure( $oldTableName, $newTableName, $this->useTemporaryTables );
110110
111111 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79272-Destroy the DB automatically when initting the DB...soxred9317:30, 30 December 2010
r79368More work on getting SQLite to work with unit tests. DB Prefix changing is no...soxred9320:42, 31 December 2010

Status & tagging log