[MDEV-20359] mysqlbinlog --version doesn't print associated MariaDB version Created: 2019-08-15 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication, Scripts & Clients |
| Affects Version/s: | 10.2.26, 10.1.41, 10.3.17, 10.4.7 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Most client tools print the associated MariaDB version when the --version option is provided to the tool. For example:
However, mysqlbinlog doesn't currently do that:
If we compare the relevant code for mysqlbinlog to the code for mysql, then we can see why: https://github.com/MariaDB/server/blob/mariadb-10.4.7/client/mysqlbinlog.cc#L1885 https://github.com/MariaDB/server/blob/mariadb-10.4.7/client/mysql.cc#L1711 I think mysqlbinlog should print a more complete version string, like the other client tools. |