-
Committer:
Alexey Kopytov
-
Date:
2011-04-12 10:51:41 UTC
-
Revision ID:
akopytov@gmail.com-20110412105141-z9874rk16n0aj4bu
Bug #757749: main.handler_innodb fails in 5.5.11
Using ALTER TABLE to convert an InnoDB table to a MEMORY table could
fail due to a bug in innodb_expand_fast_index_creation.patch.
The problem in innodb_expand_fast_index_creation.patch was that for
ALTER TABLE ENGINE=... the code mistakenly made sure the original
table's engine is InnoDB, rather than the target's one. This resulted in
a failure if the target engine was MEMORY because it does not support
certain handler calls.
Fixed by making sure the target engine is InnoDB, not the original ones.