Commit 68f21467 authored by Magnus Svensson's avatar Magnus Svensson

Bug#40742 MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit rpl_alter does not work

mysql-test/lib/v1/mtr_cases.pl:
  The combinations file in suite uses my.cnf file syntax - thus the options in the
  combinations file should not have -- prefixed.
  Add -- to the option while reading it from file.
parent 09ff354d
...@@ -369,7 +369,7 @@ sub collect_one_suite($) ...@@ -369,7 +369,7 @@ sub collect_one_suite($)
my $comb= {}; my $comb= {};
$comb->{name}= $group->name(); $comb->{name}= $group->name();
foreach my $option ( $group->options() ) { foreach my $option ( $group->options() ) {
push(@{$comb->{comb_opt}}, $option->name()."=".$option->value()); push(@{$comb->{comb_opt}}, "--".$option->name()."=".$option->value());
} }
push(@combinations, $comb); push(@combinations, $comb);
} }
......
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