[MDEV-7136] Engine specific create table options are inherited on alter table. Created: 2014-11-19 Updated: 2014-11-19 Resolved: 2014-11-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table |
| Affects Version/s: | 10.1.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jan Lindström (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
One test case:
I would assume if alter table engine=innodb is issued all engine specific options are not inherited. Currently, this is not true:
|
| Comments |
| Comment by Jan Lindström (Inactive) [ 2014-11-19 ] | |
|
Also 5.5/10.0 may be affected (but not above example). | |
| Comment by Sergei Golubchik [ 2014-11-19 ] | |
|
They are intentionally inherited, even if you alter to a different storage engine.
it should only change the storage engine to innodb, and not modify any columns, indexes, table comment, table character set, or any other attributes. |