[MDEV-397] Changing a column name via ALTER ONLINE does not work for InnoDB Created: 2012-07-15 Updated: 2013-11-08 Resolved: 2013-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.25, 5.3.7 |
| Fix Version/s: | 5.5.34 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I'm not sure whether it's expected behavior, filing just in case it's not. http://kb.askmonty.org/en/alter-table/ says that changing a column name online should work; and it does for MyISAM, but not for InnoDB: Some other CHANGE COLUMN operations do work, even for InnoDB, e.g. Test case:
|
| Comments |
| Comment by Elena Stepanova [ 2013-11-08 ] |
|
I suppose it makes no sense to fix it, since in 10.0 semantics of ALTER ONLINE changed anyway – it now works like ALTER .. LOCK=NONE, so the provided test case actually causes opposite results – it works for InnoDB and fails for MyISAM. Closing as 'Won't fix', please re-open if you think otherwise. |