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/server-tools/instance-manager/Makefile.am b/server-tools/instance-manager/Makefile.am index 46e3700cf5f..731c8503831 100644 --- a/server-tools/instance-manager/Makefile.am +++ b/server-tools/instance-manager/Makefile.am @@ -11,7 +11,7 @@ liboptions_a_CPPFLAGS= $(CPPFLAGS) \ -DDEFAULT_LOG_FILE_NAME="$(localstatedir)/mysqlmanager.log" \ -DDEFAULT_SOCKET_FILE_NAME="$(localstatedir)/mysqlmanager.sock" -liboptions_a_SOURCES= otpions.h options.cc +liboptions_a_SOURCES= options.h options.cc bin_PROGRAMS = mysqlmanager diff --git a/server-tools/instance-manager/mysqlmanager.cc b/server-tools/instance-manager/mysqlmanager.cc index cab7f5fd8ed..0ec7e043ed5 100644 --- a/server-tools/instance-manager/mysqlmanager.cc +++ b/server-tools/instance-manager/mysqlmanager.cc @@ -19,6 +19,8 @@ #include #include #include +#include +#include #include "manager.h" #include "options.h" 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);