Commit c2d55ee2 authored by Mattias Jonsson's avatar Mattias Jonsson
Browse files

post push fix for bug#38804 (back port of bug#33479)

Removes the regression bug#38751.
parent 66a3dbce
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1717,6 +1717,14 @@ int ha_partition::copy_partitions(ulonglong * const copied,

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))