From b3e65d734fea7b99222f9a427c9706b99055e5ff Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 2 Dec 2011 21:50:42 +0000 Subject: [PATCH] Per Timo, the second line would wipe out the first --- includes/db/DatabaseMysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/DatabaseMysql.php b/includes/db/DatabaseMysql.php index c62c429ede..4bde72b84b 100644 --- a/includes/db/DatabaseMysql.php +++ b/includes/db/DatabaseMysql.php @@ -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; } -- 2.20.1