Merge remote-tracking branch 'origin/QA_4_4' into QA_4_4
This commit is contained in:
commit
fc58d4518f
@ -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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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 "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user