-
unknown authored
Extending varchar column length with ALTER TABLE may result in unusable memory table. The problem is that we use fast ALTER TABLE in this case, which is not supported by now. This is fixed by refusing fast ALTER TABLE when extending varchar column. In other words force copy of a table during ALTER TABLE. Affects MEMORY tables in 5.1 only. mysql-test/r/heap.result: A test case for BUG#26080. mysql-test/t/heap.test: A test case for BUG#26080. storage/heap/ha_heap.cc: For MEMORY, if varchar column extended, it should return incompatible for now. In other words force copy of a table during alter table.
7078762e