Commit 941f8691 authored by unknown's avatar unknown

mysql-test-run.pl:

  Try find in order 'mysqld-nt', 'mysqld', 'mysqld-debug' and 'mysqld-max'
mysqld_safe.sh:
  Don't try 'mysqld-max' before 'mysqld' if no server given, bug#17861


scripts/mysqld_safe.sh:
  Don't try 'mysqld-max' before 'mysqld' if no server given, bug#17861
mysql-test/mysql-test-run.pl:
  Try find in order 'mysqld-nt', 'mysqld', 'mysqld-debug' and 'mysqld-max'
parent 2fdf638d
...@@ -987,10 +987,10 @@ sub executable_setup () { ...@@ -987,10 +987,10 @@ sub executable_setup () {
# New CMake locations. # New CMake locations.
"$glob_basedir/client/release", "$glob_basedir/client/release",
"$glob_basedir/client/debug"); "$glob_basedir/client/debug");
$exe_mysqld= mtr_exe_exists ("$path_client_bindir/mysqld-max", $exe_mysqld= mtr_exe_exists ("$path_client_bindir/mysqld-nt",
"$path_client_bindir/mysqld-nt",
"$path_client_bindir/mysqld", "$path_client_bindir/mysqld",
"$path_client_bindir/mysqld-debug", "$path_client_bindir/mysqld-debug",
"$path_client_bindir/mysqld-max",
"$glob_basedir/sql/release/mysqld", "$glob_basedir/sql/release/mysqld",
"$glob_basedir/sql/debug/mysqld"); "$glob_basedir/sql/debug/mysqld");
$path_language= mtr_path_exists("$glob_basedir/share/english/", $path_language= mtr_path_exists("$glob_basedir/share/english/",
......
...@@ -213,15 +213,10 @@ then ...@@ -213,15 +213,10 @@ then
chown $user $mysql_unix_port_dir chown $user $mysql_unix_port_dir
fi fi
# Use the mysqld-max binary by default if the user doesn't specify a binary # If the user doesn't specify a binary, we assume name "mysqld"
if test -z "$MYSQLD" if test -z "$MYSQLD"
then then
if test -x $ledir/mysqld-max MYSQLD=mysqld
then
MYSQLD=mysqld-max
else
MYSQLD=mysqld
fi
fi fi
if test ! -x $ledir/$MYSQLD if test ! -x $ledir/$MYSQLD
......
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