bug #1389165, shows all columns as Null Yes

This commit is contained in:
Marc Delisle
2006-01-06 18:08:58 +00:00
parent 97bd2323d5
commit 27cbdefa1b

View File

@@ -1467,7 +1467,7 @@ function PMA_RT_DOC($alltables ){
$strAttribute = 'UNSIGNED ZEROFILL';
}
if (!isset($row['Default'])) {
if ($row['Null'] != '') {
if ($row['Null'] != '' && $row['Null'] != 'NO') {
$row['Default'] = 'NULL';
}
}