[MDEV-12597] mysqld --version prints unrelated messages Created: 2017-04-27 Updated: 2017-05-04 Resolved: 2017-05-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Configuration |
| Affects Version/s: | 10.2.5 |
| Fix Version/s: | 10.2.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrii Nikitin (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 10.2-ga | ||
| Issue Links: |
|
||||||||
| Description |
|
These are way too verbose.
This is rather cosmetic issue but may also lead to problems in setups which rely on parsing of --version output
|
| Comments |
| Comment by Andrii Nikitin (Inactive) [ 2017-04-27 ] | ||||
|
It looks the problem present in 10.1 as well, just it doesn't trigger in default configuration:
| ||||
| Comment by Andrii Nikitin (Inactive) [ 2017-04-27 ] | ||||
|
I see three problems: 2. --no-defaults --help shouldn't give any warnings (i.e. default configuration shouldn't have conflicts)
3. The warning above is meaningless if default values for these variables is ON . Thus I propose just remove that check from code. | ||||
| Comment by Elena Stepanova [ 2017-05-01 ] | ||||
|
For points 2-3 (they are basically the same, 2 is the general rule and 3 is its violation) we had Point 1 is more general, it might be better to postpone it till after GA or till the next major release. Another somewhat related (and still open) issue is MDEV-10648. | ||||
| Comment by Andrii Nikitin (Inactive) [ 2017-05-01 ] | ||||
|
I've created new bug After all general Point 1 is current behavior as mysqld doesn't really verify parameters with --version (which I consider good behavior):
This brings even stronger reasoning to why # 3. and Indeed #3 is violation of #2, but it must be fixed (with new defaults) even if it wasn't (or if #2 wouldn't be accepted as common rule). | ||||
| Comment by Vladislav Vaintroub [ 2017-05-04 ] | ||||
|
Removed warning about log_slow_statements, as it is not valid anymore for 10.2 (defaults are set such that it would always be generated). |