http://www.mediawiki.org/wiki/Special:Code/MediaWiki/93807

Revision: 93807
Author:   midom
Date:     2011-08-03 07:59:04 +0000 (Wed, 03 Aug 2011)
Log Message:
-----------
we don't need to change charsets on our systems, as we already have BINARY all 
around
we dont't set SQL modes either..

Modified Paths:
--------------
    branches/wmf/1.17wmf1/includes/db/DatabaseMysql.php

Modified: branches/wmf/1.17wmf1/includes/db/DatabaseMysql.php
===================================================================
--- branches/wmf/1.17wmf1/includes/db/DatabaseMysql.php 2011-08-03 07:54:23 UTC 
(rev 93806)
+++ branches/wmf/1.17wmf1/includes/db/DatabaseMysql.php 2011-08-03 07:59:04 UTC 
(rev 93807)
@@ -108,6 +108,7 @@
                }
 
                if ( $success ) {
+                       /*
                        $version = $this->getServerVersion();
                        if ( version_compare( $version, '4.1' ) >= 0 ) {
                                // Tell the server we're communicating with it 
in UTF-8.
@@ -125,6 +126,7 @@
                                        $this->query( "SET sql_mode = $mode", 
__METHOD__ );
                                }
                        }
+                        */
 
                        // Turn off strict mode if it is on
                } else {


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to