summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorunknown <kent@mysql.com>2006-03-02 22:53:38 +0100
committerunknown <kent@mysql.com>2006-03-02 22:53:38 +0100
commit8d7f44388bbd1d5197447c578979d31f0253f32d (patch)
treee9f02c5b422e85778bd4c714b266ee09a4455055 /scripts
parentf3f39d2b3553205524db1b4db9b2016317e97488 (diff)
downloadmariadb-git-8d7f44388bbd1d5197447c578979d31f0253f32d.tar.gz
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'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mysqld_safe.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index a584c384712..83bc8ce8954 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -213,15 +213,10 @@ then
chown $user $mysql_unix_port_dir
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"
then
- if test -x $ledir/mysqld-max
- then
- MYSQLD=mysqld-max
- else
- MYSQLD=mysqld
- fi
+ MYSQLD=mysqld
fi
if test ! -x $ledir/$MYSQLD