mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
SQL, Test: main suite [fixes #300]
This commit is contained in:
@ -5104,7 +5104,8 @@ that are reorganised.
|
||||
if (is_name_in_list(part_elem->partition_name,
|
||||
alter_info->partition_names))
|
||||
{
|
||||
if (part_elem->type() == partition_element::AS_OF_NOW)
|
||||
if (tab_part_info->part_type == VERSIONING_PARTITION &&
|
||||
part_elem->type() == partition_element::AS_OF_NOW)
|
||||
{
|
||||
DBUG_ASSERT(table && table->s && table->s->table_name.str);
|
||||
my_error(ER_VERS_WRONG_PARTS, MYF(0), table->s->table_name.str);
|
||||
|
Reference in New Issue
Block a user