[MDEV-20210] If you have an INVISIBLE VIRTUAL column, SHOW CREATE TABLE doesn't list it as INVISIBLE Created: 2019-07-30 Updated: 2019-08-21 Resolved: 2019-08-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Virtual Columns |
| Affects Version/s: | 10.3.16, 10.3, 10.4 |
| Fix Version/s: | 10.3.18, 10.4.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Robert Humphries | Assignee: | Anel Husakovic |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Tested on Windows 10, 64bit. |
||
| Description |
|
When you have a table that has INVISIBLE VIRTUAL columns, if you run SHOW CREATE TABLE, the INVISIBLE attribute is not present.
As a side note, I don't know if it is relevant, but If you run CREATE TABLE `b` LIKE `a` then the INVISIBLE columns appear to be defined correctly, although the SHOW CREATE TABLE is still incorrect. |
| Comments |
| Comment by Alice Sherepa [ 2019-07-30 ] | ||||||||||||||||||||||||||||||||||||
|
Thanks! Reproduced as described on 10.3,10.4:
| ||||||||||||||||||||||||||||||||||||
| Comment by Aleksey Midenkov [ 2019-08-19 ] | ||||||||||||||||||||||||||||||||||||
|
Ok to push. | ||||||||||||||||||||||||||||||||||||
| Comment by Anel Husakovic [ 2019-08-21 ] | ||||||||||||||||||||||||||||||||||||
|
Fixed with 888f6852261c67a57f21ae8 |