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

BUG#17772

A crash after ALTER TABLE t1 RENAME ...
This commit is contained in:
mikael@zim.(none)
2006-03-16 03:21:15 -08:00
parent 6c37cfee5a
commit 89b10826ce
6 changed files with 41 additions and 10 deletions

View File

@ -2897,9 +2897,9 @@ mysql_execute_command(THD *thd)
else
{
/* regular create */
if (lex->name)
if (lex->like_name)
res= mysql_create_like_table(thd, create_table, &lex->create_info,
(Table_ident *)lex->name);
lex->like_name);
else
{
res= mysql_create_table(thd, create_table->db,