mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
merge
This commit is contained in:
@@ -4251,8 +4251,7 @@ uint prep_alter_part_table(THD *thd, TABLE *table, Alter_info *alter_info,
|
||||
alter_info->no_parts= curr_part_no - new_part_no;
|
||||
}
|
||||
}
|
||||
if (table->s->db_type()->alter_table_flags &&
|
||||
(!(flags= table->s->db_type()->alter_table_flags(alter_info->flags))))
|
||||
if (!(flags= table->file->alter_table_flags(alter_info->flags)))
|
||||
{
|
||||
my_error(ER_PARTITION_FUNCTION_FAILURE, MYF(0));
|
||||
DBUG_RETURN(1);
|
||||
|
Reference in New Issue
Block a user