Name of column is sometimes Default (bug #798426).

This commit is contained in:
Michal Čihař
2003-09-01 11:32:39 +00:00
parent 3127edeba3
commit c04a4a6929
2 changed files with 5 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ if (!defined('PMA_MYSQL_CHARSETS_LIB_INCLUDED')){
} else {
$mysql_collations[$row['Charset']][] = $row['Collation'];
}
if ($row['D'] == 'Y') {
if ((isset($row['D']) && $row['D'] == 'Y') || (isset($row['Default']) && $row['Default'] == 'Yes')) {
$mysql_default_collations[$row['Charset']] = $row['Collation'];
}
}