mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 11:45:32 +02:00
Revoking patch for Bug#10952 on behalf of Brian.
This commit is contained in:
parent
945d4606bb
commit
1a7e4ac0bb
8 changed files with 3 additions and 44 deletions
|
|
@ -3240,9 +3240,7 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
|||
|
||||
DBUG_PRINT("info", ("old type: %d new type: %d", old_db_type, new_db_type));
|
||||
if (ha_check_storage_engine_flag(old_db_type, HTON_ALTER_NOT_SUPPORTED) ||
|
||||
ha_check_storage_engine_flag(new_db_type, HTON_ALTER_NOT_SUPPORTED) ||
|
||||
(old_db_type != new_db_type &&
|
||||
ha_check_storage_engine_flag(new_db_type, HTON_ALTER_CANNOT_CREATE)))
|
||||
ha_check_storage_engine_flag(new_db_type, HTON_ALTER_NOT_SUPPORTED))
|
||||
{
|
||||
DBUG_PRINT("info", ("doesn't support alter"));
|
||||
my_error(ER_ILLEGAL_HA, MYF(0), table_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue