1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

bug#4881 - crash in ALTER .. RENAME if rename fails

sql/sql_select.cc:
  typos in comments
  harmless (hopefully) bug in optimizer fixed
This commit is contained in:
unknown
2004-08-07 18:26:59 +02:00
parent ea8ac8ab98
commit 978e1ba084
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;