post push fix for bug#38804 (back port of bug#33479)
Removes the regression bug#38751. sql/ha_partition.cc: post push fix for bug#38804 (back port of bug#33479) Removes the regression bug#38751. archive relies on a ha_archive::info call to flush data before the copy takes place in alter table. This ensures that all partitions gets a info call, without having to always forward info(HA_STATUS_AUTO) to all partitions.
This commit is contained in:
parent
f2a7af7b5f
commit
51cb9ac0e1
@ -1717,6 +1717,14 @@ error:
|
||||
|
||||
void ha_partition::update_create_info(HA_CREATE_INFO *create_info)
|
||||
{
|
||||
/*
|
||||
Fix for bug#38751, some engines needs info-calls in ALTER.
|
||||
Archive need this since it flushes in ::info.
|
||||
HA_STATUS_AUTO is optimized so it will not always be forwarded
|
||||
to all partitions, but HA_STATUS_VARIABLE will.
|
||||
*/
|
||||
info(HA_STATUS_VARIABLE);
|
||||
|
||||
info(HA_STATUS_AUTO);
|
||||
|
||||
if (!(create_info->used_fields & HA_CREATE_USED_AUTO))
|
||||
|
Loading…
x
Reference in New Issue
Block a user