Allow collation change for ENUM and SET columns (bug #1343627).
This commit is contained in:
@@ -7,6 +7,8 @@ $Source$
|
||||
|
||||
2005-10-31 Michal Čihař <michal@cihar.com>
|
||||
* libraries/select_lang.lib.php: Simplify code.
|
||||
* libraries/common.lib.php: Allow collation change for ENUM and SET
|
||||
columns (bug #1343627).
|
||||
|
||||
2005-10-30 Michal Čihař <michal@cihar.com>
|
||||
* lang/slovak: Update, thanks to Ivan Kuriscak - shylauda69.
|
||||
|
@@ -2903,7 +2903,7 @@ window.parent.updateTableTitle( '<?php echo $uni_tbl; ?>', '<?php echo PMA_jsFor
|
||||
$query .= ' ' . $attribute;
|
||||
}
|
||||
|
||||
if (PMA_MYSQL_INT_VERSION >= 40100 && !empty($collation) && $collation != 'NULL' && preg_match('@^(TINYTEXT|TEXT|MEDIUMTEXT|LONGTEXT|VARCHAR|CHAR)$@i', $type)) {
|
||||
if (PMA_MYSQL_INT_VERSION >= 40100 && !empty($collation) && $collation != 'NULL' && preg_match('@^(TINYTEXT|TEXT|MEDIUMTEXT|LONGTEXT|VARCHAR|CHAR|ENUM|SET)$@i', $type)) {
|
||||
$query .= PMA_generateCharsetQueryPart($collation);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user