[MDEV-10982] Faking the server version also changes version number logged to error log Created: 2016-10-08 Updated: 2017-02-27 Resolved: 2016-11-08 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Hartmut Holzgraefe | Assignee: | Sergey Vojtovich |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Sprint: | 10.2.4-1 | ||||||||||||||||
| Description |
|
Setting a fake version string does not only change what version number clients see, but also what server version is printed to the error log. This should either show the real version, or both the "real" and "faked" version. Otherwise things can become really confusing when trying to analyse error logs ... |
| Comments |
| Comment by Hartmut Holzgraefe [ 2016-10-08 ] | ||||||
|
I have
in my.cnf and the startup messages in the error log look like this: It is actually correct at the beginning of the startup messages:
but not at the end when the server actually becomes ready:
| ||||||
| Comment by Diego Dupin [ 2017-02-27 ] | ||||||
|
using 10.2.4 version, using "version=10.2.4-diego" in my.ini , |