Bug #91256 mysqlbinlog must print its group to read
| Submitted: | 14 Jun 2018 12:12 | ||
|---|---|---|---|
| Reporter: | Mikiya Okuno | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | 8.0.11,5.5.60, 5.6.40, 5.7.22 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[14 Jun 2018 12:13]
MySQL Verification Team
BTW, some command specify "my" as the first argument of print_defaults() function. IMHO, MYSQL_CONFIG_NAME must be used.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: mysqlbinlog command doesn't print groups to the console when --help option is used. How to repeat: Run mysqlbinlog command with --help option, and see no line like "The following groups are read" is displayed. Suggested fix: diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc index 1181104d5c4..d8beafe7cf1 100644 --- a/client/mysqlbinlog.cc +++ b/client/mysqlbinlog.cc @@ -2079,6 +2079,7 @@ the mysql command line client.\n\n"); break; } } + print_defaults(MYSQL_CONFIG_NAME, load_default_groups); my_print_help(my_long_options); my_print_variables(my_long_options); }