mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge remote-tracking branch 'origin/10.0' into 10.1
This commit is contained in:
@ -222,7 +222,7 @@ do_rename_temporary(THD *thd, TABLE_LIST *ren_table, TABLE_LIST *new_table,
|
||||
new_alias= (lower_case_table_names == 2) ? new_table->alias :
|
||||
new_table->table_name;
|
||||
|
||||
if (is_temporary_table(new_table))
|
||||
if (find_temporary_table(thd, new_table))
|
||||
{
|
||||
my_error(ER_TABLE_EXISTS_ERROR, MYF(0), new_alias);
|
||||
DBUG_RETURN(1); // This can't be skipped
|
||||
|
Reference in New Issue
Block a user