mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.7 into 10.8
This commit is contained in:
@@ -9754,6 +9754,7 @@ bool Lex_ident_sys_st::to_size_number(ulonglong *to) const
|
||||
}
|
||||
|
||||
|
||||
#ifdef WITH_PARTITION_STORAGE_ENGINE
|
||||
bool LEX::part_values_current(THD *thd)
|
||||
{
|
||||
partition_element *elem= part_info->curr_part_elem;
|
||||
@@ -9761,7 +9762,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, "SYSTEM_TIME", part_info);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -9788,7 +9789,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, "SYSTEM_TIME", part_info);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -9809,6 +9810,7 @@ bool LEX::part_values_history(THD *thd)
|
||||
elem->type= partition_element::HISTORY;
|
||||
return false;
|
||||
}
|
||||
#endif /* WITH_PARTITION_STORAGE_ENGINE */
|
||||
|
||||
|
||||
bool LEX::last_field_generated_always_as_row_start_or_end(Lex_ident *p,
|
||||
|
Reference in New Issue
Block a user