1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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.
This commit is contained in:
Dmitry Lenev
2010-02-04 16:06:29 +03:00
parent a19377e0d7
commit 1edca1d7ef

View File

@ -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");