mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-22155 ALTER add default history partitions name clash on non-default partitions
If any of default names clashes with existing names find next large enough name gap for the requested number of partitions.
This commit is contained in:
@ -5135,7 +5135,7 @@ uint prep_alter_part_table(THD *thd, TABLE *table, Alter_info *alter_info,
|
||||
alt_part_info->part_type= tab_part_info->part_type;
|
||||
alt_part_info->subpart_type= tab_part_info->subpart_type;
|
||||
if (alt_part_info->set_up_defaults_for_partitioning(thd, table->file, 0,
|
||||
tab_part_info->num_parts))
|
||||
tab_part_info->next_part_no(num_new_partitions)))
|
||||
{
|
||||
goto err;
|
||||
}
|
||||
|
Reference in New Issue
Block a user