[MDEV-16354] Allow ALGORITHM=INPLACE for ADD COLUMN…PERSISTENT AS Created: 2018-05-31 Updated: 2024-01-18 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | ddl, online-ddl | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Adding a stored generated column is only implemented by the inefficient ALGORITHM=COPY. InnoDB should allow it with ALGORITHM=INPLACE, possibly even with ALGORITHM=NOCOPY (instantly add the column, then update the rows with the computed values). This might even be possible with LOCK=NONE.
|