Per Timo, the second line would wipe out the first
authorSam Reed <reedy@users.mediawiki.org>
Fri, 2 Dec 2011 21:50:42 +0000 (21:50 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 2 Dec 2011 21:50:42 +0000 (21:50 +0000)
includes/db/DatabaseMysql.php

index c62c429..4bde72b 100644 (file)
@@ -889,7 +889,7 @@ class DatabaseMysql extends DatabaseBase {
        protected function getDefaultSchemaVars() {
                $vars = parent::getDefaultSchemaVars();
                $vars['wgDBTableOptions'] = str_replace( 'TYPE', 'ENGINE', $GLOBALS['wgDBTableOptions'] );
-               $vars['wgDBTableOptions'] = str_replace( 'CHARSET=mysql4', 'CHARSET=binary', $GLOBALS['wgDBTableOptions'] );
+               $vars['wgDBTableOptions'] = str_replace( 'CHARSET=mysql4', 'CHARSET=binary', $vars['wgDBTableOptions'] );
                return $vars;
        }