mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Merge 10.6 into 10.10
This commit is contained in:
@@ -3070,7 +3070,8 @@ mysql_prepare_create_table_finalize(THD *thd, HA_CREATE_INFO *create_info,
|
||||
if (key->type == Key::IGNORE_KEY)
|
||||
{
|
||||
/* The key was replaced by another key */
|
||||
if (alter_info->add_stat_drop_index(thd, &key->name))
|
||||
if (!create_info->tmp_table() &&
|
||||
alter_info->add_stat_drop_index(thd, &key->name))
|
||||
DBUG_RETURN(true);
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user