Commit 0b097b77 authored by Mattias Jonsson's avatar Mattias Jonsson
Browse files

merge

parents e29acd99 c2d55ee2
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))