SET and ENUM fields may have a character set, too.

This commit is contained in:
Alexander M. Turek
2003-06-08 17:12:40 +00:00
parent 8c525a6732
commit ba9faea1f3
3 changed files with 7 additions and 1 deletions

View File

@@ -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');
?>
?>