mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
bug#4881 - crash in ALTER .. RENAME if rename fails
This commit is contained in:
@ -2691,7 +2691,7 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
||||
if (do_send_ok)
|
||||
send_ok(thd);
|
||||
}
|
||||
else
|
||||
else if (error > 0)
|
||||
{
|
||||
table->file->print_error(error, MYF(0));
|
||||
error= -1;
|
||||
|
Reference in New Issue
Block a user