diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-07 17:31:56 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-07 17:31:56 -0700 |
commit | efa8ff82f4a364f6ba183a683431e9d83652cd9f (patch) | |
tree | 8f4fbb7553a45b857fbf2c122bff7485a01e9070 /lib/mysqlschema.php | |
parent | 85156fcbed81b8e3e9d7ca4d3755df5c6c5b44a2 (diff) |
fix up some more 'not null's and such
Diffstat (limited to 'lib/mysqlschema.php')
-rw-r--r-- | lib/mysqlschema.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index e4d91ffa0..696b2b8d2 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -130,7 +130,7 @@ class MysqlSchema extends Schema // We'll need to look up key info... $hasKeys = true; } - if ($row['COLUMN_COMMENT'] !== null) { + if ($row['COLUMN_COMMENT'] !== null && $row['COLUMN_COMMENT'] != '') { $field['description'] = $row['COLUMN_COMMENT']; } |