1
0
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:
Aleksey Midenkov
2020-04-27 16:36:03 +03:00
parent fbe2712705
commit e174fa9d79
3 changed files with 45 additions and 11 deletions

View File

@ -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
{