Commit 8d6a192d authored by Dmitry Lenev's avatar Dmitry Lenev

Small clean-up in CREATE TABLE LIKE implementation.

Removed local variables which became unused when we
have switched to new approach for CREATE TABLE LIKE
(i.e. abondoned .FRM file copying) and were causing
warnings during compilation.
parent df56339a
...@@ -5179,11 +5179,6 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table, ...@@ -5179,11 +5179,6 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
Alter_info local_alter_info; Alter_info local_alter_info;
bool res= TRUE; bool res= TRUE;
uint not_used; uint not_used;
#ifdef WITH_PARTITION_STORAGE_ENGINE
char tmp_path[FN_REFLEN];
#endif
char ts_name[FN_LEN + 1];
myf flags= MY_DONT_OVERWRITE_FILE;
DBUG_ENTER("mysql_create_like_table"); DBUG_ENTER("mysql_create_like_table");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment