[MDEV-26993] Add system versioning via modify column WITH SYSTEM VERSIONING Created: 2021-10-29 Updated: 2021-11-23 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Versioned Tables |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Aleksey Midenkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
The WITH SYSTEM VERSIONING column option is intended to enable system versioning on a column level. With this column option, it is even possible use CREATE TABLE to create a system-versioned table that only provides system versioning for a single column:
However, if you try to add the column option to a column in a non-system-versioned table, it raises an error message:
If this works for CREATE TABLE, shouldn't it also work for ALTER TABLE? To reproduce:
|
| Comments |
| Comment by Aleksey Midenkov [ 2021-11-23 ] |
|
That didn't work by design. As a new feature would be nice to have it. |