mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 18:25:30 +02:00
fix the fix and update test results for MDEV-4439
This commit is contained in:
parent
bf050b1db2
commit
37b8691cec
4 changed files with 49 additions and 11 deletions
|
|
@ -5476,7 +5476,7 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
|
|||
if (remove_key)
|
||||
{
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
|
||||
ER_DUP_KEYNAME, ER(ER_DUP_KEYNAME), key->name.str);
|
||||
ER_DUP_KEYNAME, ER(ER_DUP_KEYNAME), keyname);
|
||||
key_it.remove();
|
||||
if (key->type == Key::FOREIGN_KEY)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue