#At file:///Users/mattiasj/clones/bzrroot/topush-51-5129rc_2/
2688 Mattias Jonsson 2008-10-03 [merge]
merge
modified:
sql/ha_partition.cc
=== 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:2688) | Mattias Jonsson | 3 Oct |