Merge remote branch 'origin/master'

This commit is contained in:
Pootle server
2011-02-17 04:40:06 +01:00
2 changed files with 1 additions and 2 deletions

View File

@@ -991,7 +991,6 @@ function PMA_DBI_postConnect($link, $is_controluser = false)
if (PMA_MYSQL_MAJOR_VERSION < 2009) { if (PMA_MYSQL_MAJOR_VERSION < 2009) {
if (! empty($GLOBALS['collation_connection'])) { if (! empty($GLOBALS['collation_connection'])) {
PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE); PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE);
$mysql_charset = explode('_', $GLOBALS['collation_connection']);
PMA_DBI_query("SET collation_connection = '" . PMA_sqlAddslashes($GLOBALS['collation_connection']) . "';", $link, PMA_DBI_QUERY_STORE); PMA_DBI_query("SET collation_connection = '" . PMA_sqlAddslashes($GLOBALS['collation_connection']) . "';", $link, PMA_DBI_QUERY_STORE);
} else { } else {
PMA_DBI_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci';", $link, PMA_DBI_QUERY_STORE); PMA_DBI_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci';", $link, PMA_DBI_QUERY_STORE);

View File

@@ -11,7 +11,7 @@ if (! defined('PHPMYADMIN')) {
/** /**
* *
*/ */
if (PMA_MYSQL_MAJOR_VERSION > 2009) { if (PMA_MYSQL_MAJOR_VERSION >= 2009) {
/* There are no charsets in Drizzle */ /* There are no charsets in Drizzle */
$GLOBALS['mysql_charsets'] = array(); $GLOBALS['mysql_charsets'] = array();
$GLOBALS['mysql_charsets_descriptions'] = array('utf8' => 'UTF-8 Unicode'); $GLOBALS['mysql_charsets_descriptions'] = array('utf8' => 'UTF-8 Unicode');