Commit 4839c426 authored by Mattias Jonsson's avatar Mattias Jonsson

post-push patch for bug#47343.

Missing ha_rnd_end in copy_partitions, found due to a
DBUG_ASSERT in mysql-pe

sql/ha_partition.cc:
  Post-push patch for bug#47343
  
  Must call ha_rnd_end since ha_rnd_init has been called.
parent d2f61748
...@@ -1705,6 +1705,7 @@ int ha_partition::copy_partitions(ulonglong * const copied, ...@@ -1705,6 +1705,7 @@ int ha_partition::copy_partitions(ulonglong * const copied,
} }
DBUG_RETURN(FALSE); DBUG_RETURN(FALSE);
error: error:
m_reorged_file[reorg_part]->ha_rnd_end();
DBUG_RETURN(result); DBUG_RETURN(result);
} }
......
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