Merge remote-tracking branch 'origin/QA_4_4' into QA_4_4

This commit is contained in:
Weblate 2015-09-09 16:35:18 +02:00
commit fc58d4518f
3 changed files with 7 additions and 3 deletions

View File

@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog
- issue #11458 Invalid UTF-8 sequence in argument
- issue #11457 Request URI too large
- issue Invalid argument supplied for foreach()
- issue #11461 Foreign key constraints for InnoDB tables with upper-case letters disabled
4.4.14.1 (2015-09-08)
- issue [security] reCaptcha bypass

View File

@ -322,7 +322,8 @@ class PMA_DatabaseInterface
)
. '%\'';
} else {
$sql_where_table = 'AND t.`TABLE_NAME` = \''
$sql_where_table = 'AND t.`TABLE_NAME` '
. PMA_Util::getCollateForIS() . ' = \''
. PMA_Util::sqlAddSlashes($table) . '\'';
}
} else {
@ -424,7 +425,7 @@ class PMA_DatabaseInterface
`CREATE_OPTIONS` AS `Create_options`,
`TABLE_COMMENT` AS `Comment`
FROM `information_schema`.`TABLES` t
WHERE ' . (PMA_IS_WINDOWS ? '' : 'BINARY') . ' `TABLE_SCHEMA`
WHERE `TABLE_SCHEMA` ' . PMA_Util::getCollateForIS() . '
IN (\'' . implode("', '", $this_databases) . '\')
' . $sql_where_table;
}

View File

@ -4517,7 +4517,9 @@ class PMA_Util
"SHOW VARIABLES LIKE 'lower_case_table_names'", 0, 1
);
if ($lowerCaseTableNames === '0') {
if ($lowerCaseTableNames === '0' // issue #10961
|| $lowerCaseTableNames === '2' // issue #11461
) {
return "COLLATE utf8_bin";
}
return "";