Fix check of parameter type in mysqld_start.

parent 1c4c34bc
...@@ -3120,13 +3120,13 @@ sub mysqld_start ($$$) { ...@@ -3120,13 +3120,13 @@ sub mysqld_start ($$$) {
{ {
$exe= $exe_master_mysqld; $exe= $exe_master_mysqld;
} }
if ( $type eq 'slave' ) elsif ( $type eq 'slave' )
{ {
$exe= $exe_slave_mysqld; $exe= $exe_slave_mysqld;
} }
else else
{ {
mtr_error("Unknown 'type' passed to mysqld_start"); mtr_error("Unknown 'type' \"$type\" passed to mysqld_start");
} }
mtr_init_args(\$args); mtr_init_args(\$args);
......
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