1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix check of parameter type in mysqld_start.

This commit is contained in:
msvensson@neptunus.(none)
2006-09-20 07:43:03 +02:00
parent 1c4c34bc39
commit f4c0e4efac

View File

@ -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);