summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 15:41:57 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 15:41:57 +0200
commitf532653c2920490ac15ad70db0f2f1aaaacb92fe (patch)
tree1693b4f73aa617e5ed064401aba4cfc7e3aa7910 /sql/sql_show.cc
parent6a839ff40d1be946b4391eb7a316b0404e1cd82b (diff)
downloadmariadb-git-f532653c2920490ac15ad70db0f2f1aaaacb92fe.tar.gz
remove ha_create_table_from_engine()
replace enum read_frm_op with a bitmap flags. remove always-unused 'error' argument of get_table_share
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 0f18ba69711..ff81aff530c 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -4307,7 +4307,6 @@ static int fill_schema_table_from_frm(THD *thd, TABLE_LIST *tables,
TABLE tbl;
TABLE_LIST table_list;
uint res= 0;
- enum open_frm_error not_used;
char db_name_buff[NAME_LEN + 1], table_name_buff[NAME_LEN + 1];
bzero((char*) &table_list, sizeof(TABLE_LIST));
@@ -4380,7 +4379,7 @@ static int fill_schema_table_from_frm(THD *thd, TABLE_LIST *tables,
}
share= get_table_share(thd, table_list.db, table_list.table_name,
- FRM_READ_TABLE_OR_VIEW, &not_used);
+ GTS_TABLE | GTS_VIEW);
if (!share)
{
res= 0;