From 8bba05e80297853e2c0412d5e1f0b44d2b8c5e46 Mon Sep 17 00:00:00 2001 From: Dmitry Lenev Date: Thu, 4 Feb 2010 16:06:29 +0300 Subject: [PATCH] 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. --- sql/sql_table.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 0ffadb5d66f..9d3d52e14ed 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -5179,11 +5179,6 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table, Alter_info local_alter_info; bool res= TRUE; 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");