[MDEV-16490] It's possible to make a system versioned table without any versioning field Created: 2018-06-14 Updated: 2019-09-12 Resolved: 2019-09-09 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Definition - Alter Table, Versioned Tables |
| Affects Version/s: | 10.3, 10.4 |
| Fix Version/s: | 10.3.19, 10.4.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Nikita Malyavin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Right behaviour looks like this.
But it's possible to bypass this error with ALTER TABLE:
Same with trx_id based tables. |
| Comments |
| Comment by Nikita Malyavin [ 2018-06-25 ] | |||||
|
This also crashes:
| |||||
| Comment by Nikita Malyavin [ 2018-06-26 ] | |||||
|
Both adding and removing system versioning for field while dropping system versioning for whole table will be forbidden with my upcoming patch. This might be documented as well. | |||||
| Comment by Nikita Malyavin [ 2018-09-26 ] | |||||
|
Moving back on me — CREATE...SELECT could still be affected with current fix |