summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-02-26 23:36:23 +0200
committerunknown <monty@narttu.mysql.fi>2003-02-26 23:36:23 +0200
commitf407dbd272eec3618a5d9ce0408d9e611cc53ca6 (patch)
tree841351e9bd6c548efd9864a92eaa6ca8f5b17b53 /sql
parentbdc655d9690e9bcc071251ab4a19dd7ac40ac15c (diff)
parent8c3efbc32aecc8c14e07fa71a884de96dfe1a543 (diff)
downloadmariadb-git-f407dbd272eec3618a5d9ce0408d9e611cc53ca6.tar.gz
Merge work:/my/mysql-4.0 into narttu.mysql.fi:/my/mysql-4.0
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_show.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 4faee7d248f..4fca236b165 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -294,6 +294,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);
@@ -312,7 +313,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
casedn_str(file_name);
if (!(table = open_ltable(thd, &table_list, TL_READ)))
{
- for (uint i=0 ; i < field_list.elements ; i++)
+ for (uint i=2 ; i < field_list.elements ; i++)
net_store_null(packet);
net_store_data(packet,convert, thd->net.last_error);
thd->net.last_error[0]=0;