1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge branch '10.7' into bb-10.7-release

This commit is contained in:
Oleksandr Byelkin
2022-11-07 18:53:30 +01:00
7 changed files with 117 additions and 45 deletions

View File

@ -9740,7 +9740,7 @@ bool LEX::part_values_current(THD *thd)
{
if (unlikely(part_info->part_type != VERSIONING_PARTITION))
{
my_error(ER_PARTITION_WRONG_TYPE, MYF(0), "SYSTEM_TIME");
part_type_error(thd, NULL, "CURRENT", part_info);
return true;
}
}
@ -9767,7 +9767,7 @@ bool LEX::part_values_history(THD *thd)
{
if (unlikely(part_info->part_type != VERSIONING_PARTITION))
{
my_error(ER_PARTITION_WRONG_TYPE, MYF(0), "SYSTEM_TIME");
part_type_error(thd, NULL, "HISTORY", part_info);
return true;
}
}