Skip to content

Commit

Permalink
Merge branch '10.7' into 10.8
Browse files Browse the repository at this point in the history
  • Loading branch information
sanja-byelkin committed Aug 9, 2022
2 parents 75d631f + fbfd44b commit 73e0864
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sql/ha_partition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
/*
Expand Down

0 comments on commit 73e0864

Please sign in to comment.