Commit 2ba0a24e authored by Aditya A's avatar Aditya A

Bug#17559867 AFTER REBUILDING , A MYISAM PARTITION ENDS UP

             AS A INNODB PARTITTION.
[Merged from 5.1]             
parents ccfd3a0e df5018f2
...@@ -5178,6 +5178,8 @@ that are reorganised. ...@@ -5178,6 +5178,8 @@ that are reorganised.
} }
else if (alter_info->flags & ALTER_REBUILD_PARTITION) else if (alter_info->flags & 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)) if (set_part_state(alter_info, tab_part_info, PART_CHANGED))
{ {
my_error(ER_DROP_PARTITION_NON_EXISTENT, MYF(0), "REBUILD"); my_error(ER_DROP_PARTITION_NON_EXISTENT, MYF(0), "REBUILD");
......
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