summaryrefslogtreecommitdiff
path: root/sql/sql_admin.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_admin.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_admin.cc')
-rw-r--r--sql/sql_admin.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_admin.cc b/sql/sql_admin.cc
index e900353337a..9e3ea46f526 100644
--- a/sql/sql_admin.cc
+++ b/sql/sql_admin.cc
@@ -81,7 +81,6 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
HA_CHECK_OPT *check_opt)
{
int error= 0;
- enum open_frm_error not_used;
TABLE tmp_table, *table;
TABLE_LIST *pos_in_locked_tables= 0;
TABLE_SHARE *share;
@@ -124,7 +123,7 @@ static int prepare_for_repair(THD *thd, TABLE_LIST *table_list,
has_mdl_lock= TRUE;
share= get_table_share(thd, table_list->db, table_list->table_name,
- FRM_READ_TABLE_ONLY, &not_used);
+ GTS_TABLE);
if (share == NULL)
DBUG_RETURN(0); // Can't open frm file