1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00

Merge branch 'QA_4_6'

This commit is contained in:
Michal Čihař
2016-07-22 15:47:50 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ phpMyAdmin - ChangeLog
4.6.4 (not yet released)
- issue Include X-Robots-Tag header in responses
- issue Enfornce numeric field length when creating table
4.6.3 (2016-06-23)
- issue #12249 Fixed cookie path on Windows

View File

@@ -354,7 +354,7 @@ class Table
$pattern = '@^(DATE|TINYBLOB|TINYTEXT|BLOB|TEXT|'
. 'MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|SERIAL|BOOLEAN|UUID)$@i';
if ($length != '' && ! preg_match($pattern, $type)) {
$query .= '(' . $length . ')';
$query .= '(' . intval($length) . ')';
}
if ($virtuality) {