diff --git a/mysql-test/r/view.result b/mysql-test/r/view.result index d5fdc668d61..a401a56aa34 100644 --- a/mysql-test/r/view.result +++ b/mysql-test/r/view.result @@ -139,7 +139,7 @@ v4 v5 v6 show full tables; -Tables_in_test table_type +Tables_in_test Table_type t1 BASE TABLE v1 VIEW v2 VIEW diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 14bef9d2236..968058f0cfc 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -160,7 +160,7 @@ int mysqld_show_tables(THD *thd, const char *db, const char *wild, len= FN_LEN - len; field_list.push_back(field); if (show_type) - field_list.push_back(new Item_empty_string("table_type", 10)); + field_list.push_back(new Item_empty_string("Table_type", 10)); if (protocol->send_fields(&field_list, Protocol::SEND_NUM_ROWS | Protocol::SEND_EOF)) DBUG_RETURN(1);