summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-02-26 09:52:19 +0200
committerunknown <monty@narttu.mysql.fi>2003-02-26 09:52:19 +0200
commit85d6d3d8ec6c49b1770ad6ca9cb5fc5b82e21aa3 (patch)
tree0d803dce5ea11d1b114e35792c2df649104d5b91
parent21f2382b283e9676f58d61ac744dd744e153239a (diff)
downloadmariadb-git-85d6d3d8ec6c49b1770ad6ca9cb5fc5b82e21aa3.tar.gz
Comment column in SHOW TABLE STATUS now reports that it can
contain NULL values (which is the case for a crashed .frm file).
-rw-r--r--sql/sql_show.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 729e1557cdc..15693035a82 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -293,6 +293,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
field_list.push_back(item=new Item_empty_string("Create_options",255));
item->maybe_null=1;
field_list.push_back(item=new Item_empty_string("Comment",80));
+ item->maybe_null=1;
if (send_fields(thd,field_list,1))
DBUG_RETURN(1);