mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug #7643: ALTER TABLE fails for CSV, EXAMPLE, ARCHIVE engines
This commit is contained in:
@ -1654,7 +1654,9 @@ mysql_rename_table(enum db_type base,
|
||||
}
|
||||
}
|
||||
delete file;
|
||||
if (error)
|
||||
if (error == HA_ERR_WRONG_COMMAND)
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "ALTER TABLE");
|
||||
else if (error)
|
||||
my_error(ER_ERROR_ON_RENAME, MYF(0), from, to, error);
|
||||
DBUG_RETURN(error != 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user