SET and ENUM fields may have a character set, too.
This commit is contained in:
@@ -148,6 +148,8 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
|
||||
|| substr($type, 0, 8) == 'tinytext'
|
||||
|| substr($type, 0, 10) == 'mediumtext'
|
||||
|| substr($type, 0, 8) == 'longtext'
|
||||
|| strtolower(substr($type, 0, 3)) == 'set'
|
||||
|| strtolower(substr($type, 0, 4)) == 'enum'
|
||||
) && !$binary) {
|
||||
if (strpos($type, ' character set ')) {
|
||||
$type = substr($type, 0, strpos($type, ' character set '));
|
||||
@@ -700,4 +702,4 @@ require('./tbl_query_box.php3');
|
||||
*/
|
||||
echo "\n";
|
||||
require('./footer.inc.php3');
|
||||
?>
|
||||
?>
|
Reference in New Issue
Block a user