[MDEV-14016] Allow instant ADD COLUMN, ADD INDEX, LOCK=NONE Created: 2017-10-06 Updated: 2023-03-30 Resolved: 2017-11-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.3.2 |
| Fix Version/s: | 10.3.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | alter, ddl, online-ddl | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Sprint: | 10.3.3-1 | ||||||||||||||||||||||||||||||||||||
| Description |
|
Currently, InnoDB allows instant ADD COLUMN together with DROP INDEX, but not with ADD INDEX, even if the index is to be added on some other column than the instantly added column. Also, if the table contains SPATIAL or FULLTEXT index, LOCK=NONE is wrongly refused for ADD COLUMN. |