diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc index c3ee41b..3ab53b9 100644 --- a/storage/blackhole/ha_blackhole.cc +++ b/storage/blackhole/ha_blackhole.cc @@ -318,7 +318,7 @@ static int blackhole_init(void *p) { blackhole_hton->state = SHOW_OPTION_YES; blackhole_hton->db_type = DB_TYPE_BLACKHOLE_DB; blackhole_hton->create = blackhole_create_handler; - blackhole_hton->flags = HTON_CAN_RECREATE; + blackhole_hton->flags = HTON_CAN_RECREATE | HTON_ALTER_NOT_SUPPORTED; mysql_mutex_init(bh_key_mutex_blackhole, &blackhole_mutex, MY_MUTEX_INIT_FAST); diff --git a/storage/myisammrg/ha_myisammrg.cc b/storage/myisammrg/ha_myisammrg.cc index 8ad2c13..1f072a6 100644 --- a/storage/myisammrg/ha_myisammrg.cc +++ b/storage/myisammrg/ha_myisammrg.cc @@ -1436,7 +1436,7 @@ static int myisammrg_init(void *p) { myisammrg_hton->db_type = DB_TYPE_MRG_MYISAM; myisammrg_hton->create = myisammrg_create_handler; myisammrg_hton->panic = myisammrg_panic; - myisammrg_hton->flags = HTON_NO_PARTITION; + myisammrg_hton->flags = HTON_NO_PARTITION | HTON_ALTER_NOT_SUPPORTED; myisammrg_hton->file_extensions = ha_myisammrg_exts; myisammrg_hton->rm_tmp_tables = default_rm_tmp_tables;