Commit 78b148c8 authored by unknown's avatar unknown

Don't add --binlog-format if --skip-log-bin or --loose-skip-log-bin is

used for the test

parent 1370500c
...@@ -2600,8 +2600,8 @@ sub mysqld_arguments ($$$) { ...@@ -2600,8 +2600,8 @@ sub mysqld_arguments ($$$) {
mtr_add_arg($args, "%s--log-output=table,file", $prefix); mtr_add_arg($args, "%s--log-output=table,file", $prefix);
} }
# Check if "extra_opt" contains --skip-log-bin # Check if "extra_opt" contains skip-log-bin
my $skip_binlog= grep(/^--skip-log-bin/, @$extra_opt, @opt_extra_mysqld_opt); my $skip_binlog= grep(/^(--|--loose-)skip-log-bin/, @$extra_opt, @opt_extra_mysqld_opt);
if ( $opt_debug ) if ( $opt_debug )
{ {
......
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