diff options
author | hery.ramilison@oracle.com <> | 2011-11-17 09:13:43 +0100 |
---|---|---|
committer | Build Team <MYSQL-RE_WW@oracle.com> | 2011-11-17 09:13:43 +0100 |
commit | c06225f700c7cf52592a4750f3514f8302e54dc9 (patch) | |
tree | b7f528228411959a0645e56a142807a4ba6b6bf0 /scripts | |
parent | 85f07c7d7de623b5c9de188e99445fb96212957d (diff) | |
download | mariadb-git-c06225f700c7cf52592a4750f3514f8302e54dc9.tar.gz |
fix for bug 11748060/34981
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqld_safe.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index a537bf27aad..0d2045a65a6 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -464,6 +464,9 @@ export MYSQL_HOME if test -x "$MY_BASEDIR_VERSION/bin/my_print_defaults" then print_defaults="$MY_BASEDIR_VERSION/bin/my_print_defaults" +elif test -x `dirname $0`/my_print_defaults +then + print_defaults="`dirname $0`/my_print_defaults" elif test -x ./bin/my_print_defaults then print_defaults="./bin/my_print_defaults" |