1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

mysql-test-run.pl : Fix the search path for "ndb_mgmd" and "ndbd". bug#21721

mysql-test/mysql-test-run.pl:
  In 5.1 packages, the binaries "ndbd" and "ndb_mgmd" are in subdirectory "bin", not in "libexec".
  Use the search function "mtr_exe_exists()", in case there might be exceptions.
This commit is contained in:
unknown
2006-08-18 18:24:38 +02:00
parent 55fb3caeec
commit bc4215111c

View File

@@ -1299,8 +1299,10 @@ sub executable_setup () {
$path_ndb_tools_dir= "$glob_basedir/bin";
$exe_ndb_mgm= "$glob_basedir/bin/ndb_mgm";
$exe_ndb_waiter= "$glob_basedir/bin/ndb_waiter";
$exe_ndbd= "$glob_basedir/libexec/ndbd";
$exe_ndb_mgmd= "$glob_basedir/libexec/ndb_mgmd";
$exe_ndbd= mtr_exe_exists("$glob_basedir/libexec/ndbd",
"$glob_basedir/bin/ndbd");
$exe_ndb_mgmd= mtr_exe_exists("$glob_basedir/libexec/ndb_mgmd",
"$glob_basedir/bin/ndb_mgmd");
}
$exe_master_mysqld= $exe_master_mysqld || $exe_mysqld;