Loading mysql-test/lib/My/Config.pm +10 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,16 @@ sub value { return $self->{value}; } sub option { my ($self)= @_; my $name= $self->{name}; my $value= $self->{value}; my $opt= $name; $opt= "$name=$value" if ($value); $opt= "--$opt" unless ($opt =~ /^--/); return $opt; } package My::Config::Group; Loading mysql-test/lib/mtr_cases.pm +1 −1 Original line number Diff line number Diff line Loading @@ -397,7 +397,7 @@ sub collect_one_suite($) my $comb= {}; $comb->{name}= $group->name(); foreach my $option ( $group->options() ) { push(@{$comb->{comb_opt}}, $option->name()."=".$option->value()); push(@{$comb->{comb_opt}}, $option->option()); } push(@combinations, $comb); } Loading mysql-test/suite/binlog/combinations +3 −3 Original line number Diff line number Diff line [row] --binlog-format=row binlog-format=row [stmt] --binlog-format=statement binlog-format=statement [mix] --binlog-format=mixed binlog-format=mixed mysql-test/suite/bugs/combinations +3 −3 Original line number Diff line number Diff line [row] --binlog-format=row binlog-format=row [stmt] --binlog-format=statement binlog-format=statement [mix] --binlog-format=mixed binlog-format=mixed mysql-test/suite/rpl/combinations +3 −3 Original line number Diff line number Diff line [row] --binlog-format=row binlog-format=row [stmt] --binlog-format=statement binlog-format=statement [mix] --binlog-format=mixed binlog-format=mixed Loading
mysql-test/lib/My/Config.pm +10 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,16 @@ sub value { return $self->{value}; } sub option { my ($self)= @_; my $name= $self->{name}; my $value= $self->{value}; my $opt= $name; $opt= "$name=$value" if ($value); $opt= "--$opt" unless ($opt =~ /^--/); return $opt; } package My::Config::Group; Loading
mysql-test/lib/mtr_cases.pm +1 −1 Original line number Diff line number Diff line Loading @@ -397,7 +397,7 @@ sub collect_one_suite($) my $comb= {}; $comb->{name}= $group->name(); foreach my $option ( $group->options() ) { push(@{$comb->{comb_opt}}, $option->name()."=".$option->value()); push(@{$comb->{comb_opt}}, $option->option()); } push(@combinations, $comb); } Loading
mysql-test/suite/binlog/combinations +3 −3 Original line number Diff line number Diff line [row] --binlog-format=row binlog-format=row [stmt] --binlog-format=statement binlog-format=statement [mix] --binlog-format=mixed binlog-format=mixed
mysql-test/suite/bugs/combinations +3 −3 Original line number Diff line number Diff line [row] --binlog-format=row binlog-format=row [stmt] --binlog-format=statement binlog-format=statement [mix] --binlog-format=mixed binlog-format=mixed
mysql-test/suite/rpl/combinations +3 −3 Original line number Diff line number Diff line [row] --binlog-format=row binlog-format=row [stmt] --binlog-format=statement binlog-format=statement [mix] --binlog-format=mixed binlog-format=mixed