[MDEV-8580] For some BOOLEAN or ENUM sysvars list of valid values is not generated Created: 2015-08-07 Updated: 2016-07-18 Resolved: 2016-07-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Plugins |
| Affects Version/s: | 10.1 |
| Fix Version/s: | 10.1.16 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I don't think it's important, just a small inconsistency. Please feel free to close as 'Won't fix' if you so prefer. 1) All InnoDB, MyISAM and Aria BOOLEAN variables have NULL in ENUM_VALUE_LIST, while most of server ones have OFF,ON there. 2) Apart from storage engine variables, there is also this:
Since they are boolean variables, it should not really matter from user's perspective whether OFF,ON are explicitly listed or not. 3) Some ENUM variables also have NULL in the field. All of them are character-set-related, so I suppose it might be on purpose:
|
| Comments |
| Comment by Sergei Golubchik [ 2015-09-04 ] |
|
Charset related variables are on purpose. They are kind of an enum, because they take a string literal value from a fixed set of valid values. Or a value number. But they aren't an enum internally and the set of valid values is pretty large. So they're shown as "ENUM" but without a value list. |