1
0
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:
serg@serg.mylan
2004-08-07 18:26:59 +02:00
parent dec992d8fb
commit eaaedb69a8
2 changed files with 8 additions and 10 deletions

View File

@ -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;