mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-22207 Drop default history partitions renders table inaccessible
This is continuation of MDEV-22153 bug when contiguity of history partitions is broken. ha_partition::open_read_partitions() can not handle non-contiguous list of default partitions. Fix: when default partition is dropped convert list of partitions to non-default.
This commit is contained in:
@ -5379,6 +5379,7 @@ that are reorganised.
|
||||
my_error(ER_VERS_WRONG_PARTS, MYF(0), table->s->table_name.str);
|
||||
goto err;
|
||||
}
|
||||
tab_part_info->use_default_partitions= false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user