Last modified: 2010-05-15 15:38:30 UTC
Index: Database.php =================================================================== RCS file: /cvsroot/wikipedia/phase3/includes/Database.php,v retrieving revision 1.139 diff -u -r1.139 Database.php --- Database.php 22 Dec 2005 06:30:39 -0000 1.139 +++ Database.php 24 Dec 2005 19:35:15 -0000 @@ -301,13 +301,13 @@ if ( !$success ) { $this->reportConnectionError(); - } - - global $wgDBmysql5; - if( $wgDBmysql5 ) { - // Tell the server we're communicating with it in UTF-8. - // This may engage various charset conversions. - $this->query( 'SET NAMES utf8' ); + } else { + global $wgDBmysql5; + if( $wgDBmysql5 ) { + // Tell the server we're communicating with it in UTF-8. + // This may engage various charset conversions. + $this->query( 'SET NAMES utf8' ); + } } $this->mOpened = $success;
This was fixed a while ago.