Commit ddf7e2a5 authored by unknown's avatar unknown

Do the check of special mysqld exe for master or slave after command line args have been parsed

parent 127e4011
...@@ -487,9 +487,6 @@ sub initial_setup () { ...@@ -487,9 +487,6 @@ sub initial_setup () {
"$glob_basedir/sql/release/mysqld", "$glob_basedir/sql/release/mysqld",
"$glob_basedir/sql/debug/mysqld"); "$glob_basedir/sql/debug/mysqld");
$exe_master_mysqld= $exe_master_mysqld || $exe_mysqld;
$exe_slave_mysqld= $exe_slave_mysqld || $exe_mysqld;
# Use the mysqld found above to find out what features are available # Use the mysqld found above to find out what features are available
collect_mysqld_features(); collect_mysqld_features();
...@@ -922,6 +919,12 @@ sub command_line_setup () { ...@@ -922,6 +919,12 @@ sub command_line_setup () {
} }
} }
# --------------------------------------------------------------------------
# Check if special exe was selected for master or slave
# --------------------------------------------------------------------------
$exe_master_mysqld= $exe_master_mysqld || $exe_mysqld;
$exe_slave_mysqld= $exe_slave_mysqld || $exe_mysqld;
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
# Check valgrind arguments # Check valgrind arguments
# -------------------------------------------------------------------------- # --------------------------------------------------------------------------
......
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