diff options
Diffstat (limited to 'sql/sql_partition.cc')
-rw-r--r-- | sql/sql_partition.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc index 3e19a33ee32..5e256522119 100644 --- a/sql/sql_partition.cc +++ b/sql/sql_partition.cc @@ -5225,6 +5225,8 @@ that are reorganised. } else if (alter_info->flags & Alter_info::ALTER_REBUILD_PARTITION) { + set_engine_all_partitions(tab_part_info, + tab_part_info->default_engine_type); if (set_part_state(alter_info, tab_part_info, PART_CHANGED)) { my_error(ER_DROP_PARTITION_NON_EXISTENT, MYF(0), "REBUILD"); |