mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-22726: Add check that one can't change general or slow log to a
transactional engine
This commit is contained in:
@ -8925,6 +8925,13 @@ bool mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
||||
DBUG_RETURN(true);
|
||||
}
|
||||
|
||||
if (create_info->db_type == maria_hton &&
|
||||
create_info->transactional != HA_CHOICE_NO)
|
||||
{
|
||||
my_error(ER_TRANSACTIONAL_ARIA_LOG_ENGINE, MYF(0));
|
||||
DBUG_RETURN(true);
|
||||
}
|
||||
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
if (alter_info->flags & Alter_info::ALTER_PARTITION)
|
||||
{
|
||||
|
Reference in New Issue
Block a user