Commit 73e08644 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Merge branch '10.7' into 10.8

parents 75d631f3 fbfd44be
......@@ -2143,9 +2143,11 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
}
DBUG_ASSERT(m_new_file == 0);
m_new_file= new_file_array;
(*m_new_file)->extra(HA_EXTRA_BEGIN_ALTER_COPY);
for (i= 0; i < part_count; i++)
m_added_file[i]->extra(HA_EXTRA_BEGIN_ALTER_COPY);
error= copy_partitions(copied, deleted);
(*m_new_file)->extra(HA_EXTRA_END_ALTER_COPY);
for (i= 0; i < part_count; i++)
m_added_file[i]->extra(HA_EXTRA_END_ALTER_COPY);
if (unlikely(error))
{
/*
......
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