mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge narttu.mysql.fi:/my/mysql-3.23 into narttu.mysql.fi:/my/mysql-4.0
This commit is contained in:
@ -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));
|
field_list.push_back(item=new Item_empty_string("Create_options",255));
|
||||||
item->maybe_null=1;
|
item->maybe_null=1;
|
||||||
field_list.push_back(item=new Item_empty_string("Comment",80));
|
field_list.push_back(item=new Item_empty_string("Comment",80));
|
||||||
|
item->maybe_null=1;
|
||||||
if (send_fields(thd,field_list,1))
|
if (send_fields(thd,field_list,1))
|
||||||
DBUG_RETURN(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);
|
casedn_str(file_name);
|
||||||
if (!(table = open_ltable(thd, &table_list, TL_READ)))
|
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_null(packet);
|
||||||
net_store_data(packet,convert, thd->net.last_error);
|
net_store_data(packet,convert, thd->net.last_error);
|
||||||
thd->net.last_error[0]=0;
|
thd->net.last_error[0]=0;
|
||||||
|
Reference in New Issue
Block a user