#At file:///Users/mattiasj/clones/bzrroot/topush-51-5129rc/
2686 Mattias Jonsson 2008-10-03
post push fix for bug#38804 (back port of bug#33479)
Removes the regression bug#38751.
modified:
sql/ha_partition.cc
per-file messages:
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.
=== modified file 'sql/ha_partition.cc'
--- a/sql/ha_partition.cc 2008-10-01 10:40:05 +0000
+++ b/sql/ha_partition.cc 2008-10-03 09:30:54 +0000
@@ -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))
Thread |
---|
• bzr commit into mysql-5.1 branch (mattias.jonsson:2686) Bug#33479Bug#38751 Bug#38804 | Mattias Jonsson | 3 Oct |