You've already forked phpmyadmin
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:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user