mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
OPTIMIZE, ANALYZE, CHECK, REPAIR and REBUILD only supported if fast_alter_partition flag set
This commit is contained in:

parent
05105a02cc
commit
ac10cffe80
@ -4499,6 +4499,11 @@ that are reorganised.
|
||||
my_error(ER_DROP_PARTITION_NON_EXISTENT, MYF(0), ptr);
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
if (!(*fast_alter_partition))
|
||||
{
|
||||
table->file->print_error(HA_ERR_WRONG_COMMAND, MYF(0));
|
||||
DBUG_RETURN(TRUE);
|
||||
}
|
||||
}
|
||||
else if (alter_info->flags & ALTER_COALESCE_PARTITION)
|
||||
{
|
||||
|
Reference in New Issue
Block a user