[MDEV-14856] Inconsistency in automatic adding of executable comments for new column attributes Created: 2018-01-02 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.3 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
There is no obvious logic in wrapping or not wrapping new attributes into versioned comments:
Here COMPRESSED is wrapped (wrongly btw, since it was only pushed in 10.3.2), but INVISIBLE is not at all. I have a plausible explanation for it: COMPRESSED is optional, because it doesn't change the application logic (much); but INVISIBLE might, so maybe it's better that it fails on servers which don't support invisible columns. However, I don't know if it was really meant this way. |