Commit 92702430 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Merge branch '10.9' into bb-10.9-release

parents bf2bdd1a e33a3868
MYSQL_VERSION_MAJOR=10 MYSQL_VERSION_MAJOR=10
MYSQL_VERSION_MINOR=9 MYSQL_VERSION_MINOR=9
MYSQL_VERSION_PATCH=1 MYSQL_VERSION_PATCH=2
SERVER_MATURITY=gamma SERVER_MATURITY=gamma
...@@ -5984,11 +5984,12 @@ the generated partition syntax in a correct manner. ...@@ -5984,11 +5984,12 @@ the generated partition syntax in a correct manner.
tab_part_info != part_info && part_info->part_type == VERSIONING_PARTITION && tab_part_info != part_info && part_info->part_type == VERSIONING_PARTITION &&
part_info->num_parts == 0) part_info->num_parts == 0)
{ {
if (part_info->vers_info->interval.is_set() && if (part_info->vers_info->interval.is_set() && (
!tab_part_info->vers_info->interval.is_set() ||
/* TODO: equivalent intervals like 1 hour and 60 mins should be considered equal */ /* TODO: equivalent intervals like 1 hour and 60 mins should be considered equal */
memcmp(&part_info->vers_info->interval, memcmp(&part_info->vers_info->interval,
&tab_part_info->vers_info->interval, &tab_part_info->vers_info->interval,
sizeof(Vers_part_info::interval))) sizeof(Vers_part_info::interval))))
{ {
/* If interval is changed we can not do fast alter */ /* If interval is changed we can not do fast alter */
tab_part_info= tab_part_info->get_clone(thd); tab_part_info= tab_part_info->get_clone(thd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment