Correct the non working check for --skip-log-bin in "extra_opt"

parent 69510b70
......@@ -3601,7 +3601,7 @@ sub mysqld_arguments ($$$$$) {
}
# Check if "extra_opt" contains --skip-log-bin
my $skip_binlog= grep('--skip-log-bin', @$extra_opt);
my $skip_binlog= grep(/^--skip-log-bin/, @$extra_opt);
if ( $type eq 'master' )
{
......
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