Merge branch 'QA_4_6'

This commit is contained in:
Michal Čihař 2016-03-09 09:02:27 +01:00
commit 590593c805
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,7 @@ phpMyAdmin - ChangeLog
- issue #12054 Fixed processing of queries with escaped quotes
- issue #12041 Fixed exporting tables with fields DEFAULT and COMMENT
- issue #12073 Hide edit and delete buttons when the results are not related to a table
- issue #12083 Fixed parsing of field definition
4.5.5.1 (2016-02-29)
- issue #11971 CREATE UNIQUE INDEX index type is not recognized by parser.

View File

@ -301,7 +301,7 @@ for ($columnNumber = 0; $columnNumber < $num_fields; $columnNumber++) {
// differs from the ones of the corresponding database.
// rtrim the type, for cases like "float unsigned"
$type = rtrim(
mb_ereg_replace('[\w\W]character set[\w\W]*', '', $type)
preg_replace('/[\s]character set[\s][\S]+/', '', $type)
);
/**