Do not set charset for Drizzle.
This commit is contained in:
@@ -979,6 +979,8 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
|
||||
}
|
||||
}
|
||||
|
||||
/* Skip charsets for Drizzle */
|
||||
if (PMA_MYSQL_MAJOR_VERSION < 2009) {
|
||||
if (! empty($GLOBALS['collation_connection'])) {
|
||||
PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE);
|
||||
$mysql_charset = explode('_', $GLOBALS['collation_connection']);
|
||||
@@ -986,6 +988,7 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
|
||||
} else {
|
||||
PMA_DBI_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci';", $link, PMA_DBI_QUERY_STORE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user