1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

MDEV-14923 Assertion upon INSERT into locked versioned partitioned table

This commit is contained in:
Aleksey Midenkov
2018-01-12 12:54:07 +03:00
committed by Sergei Golubchik
parent fbed4ca4f1
commit 93e8ee4ae1
5 changed files with 41 additions and 24 deletions

View File

@@ -5436,13 +5436,8 @@ the generated partition syntax in a correct manner.
tab_part_info->use_default_num_subpartitions= FALSE;
}
if (alter_info->flags & Alter_info::ALTER_ADD_PARTITION &&
tab_part_info->part_type == VERSIONING_PARTITION &&
tab_part_info->vers_setup_expression(thd, alt_part_info->partitions.elements))
goto err;
if (tab_part_info->check_partition_info(thd, (handlerton**)NULL,
table->file, 0, TRUE))
table->file, 0, alt_part_info))
{
goto err;
}