Commit 6bd4cfe0 authored by 's avatar

Bug #34777 mysqlbinlog: --help output for --base64-output is hard to understand

Append the description of the 'decode-rows' value for --base64-output argument.
parent c23f7562
...@@ -992,11 +992,13 @@ static struct my_option my_long_options[] = ...@@ -992,11 +992,13 @@ static struct my_option my_long_options[] =
/* 'unspec' is not mentioned because it is just a placeholder. */ /* 'unspec' is not mentioned because it is just a placeholder. */
"Determine when the output statements should be base64-encoded BINLOG " "Determine when the output statements should be base64-encoded BINLOG "
"statements: 'never' disables it and works only for binlogs without " "statements: 'never' disables it and works only for binlogs without "
"row-based events; 'auto' prints base64 only when necessary (i.e., " "row-based events; 'decode-rows' decodes row events into commented SQL "
"for row-based events and format description events); 'always' prints " "statements if the --verbose option is also given; 'auto' prints base64 "
"base64 whenever possible. 'always' is for debugging only and should " "only when necessary (i.e., for row-based events and format description "
"not be used in a production system. If this argument is not given, " "events); 'always' prints base64 whenever possible. 'always' is for "
"the default is 'auto'; if it is given with no argument, 'always' is used." "debugging only and should not be used in a production system. If this "
"argument is not given, the default is 'auto'; if it is given with no "
"argument, 'always' is used."
,(uchar**) &opt_base64_output_mode_str, ,(uchar**) &opt_base64_output_mode_str,
(uchar**) &opt_base64_output_mode_str, (uchar**) &opt_base64_output_mode_str,
0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0}, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment