diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-05-20 16:35:28 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-05-20 16:35:28 +0400 |
commit | eff442964a68d63a0ce9fe3e89332e5cc2b623e4 (patch) | |
tree | 2b0d3650bb46050bc0438cfd5228e52e89aa3895 /scripts/mysqld_safe.sh | |
parent | a68a68bf45807fc50bf05c2f2e4cde3329755b41 (diff) | |
parent | d8b33c52b6538e85ab489be8a11ef6f7ebb1205f (diff) | |
download | mariadb-git-eff442964a68d63a0ce9fe3e89332e5cc2b623e4.tar.gz |
Manual merge from mysql-trunk.
Conflicts:
- mysql-test/r/partition.result
- mysql-test/r/variables_debug.result
- mysql-test/t/partition.test
- mysql-test/t/variables_debug.test
Diffstat (limited to 'scripts/mysqld_safe.sh')
-rw-r--r-- | scripts/mysqld_safe.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index 248503905c1..5d7f0760b82 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -307,7 +307,7 @@ set_malloc_lib() { malloc_lib= # This list is kept intentionally simple. Simply set --malloc-lib # to a full path if another location is desired. - for libdir in /usr/lib "$pkglibdir"; do + for libdir in /usr/lib "$pkglibdir" "$pkglibdir/mysql"; do for flavor in _minimal '' _and_profiler _debug; do tmp="$libdir/libtcmalloc$flavor.so" #log_notice "DEBUG: Checking for malloc lib '$tmp'" @@ -704,7 +704,7 @@ fi cmd="`mysqld_ld_preload_text`$NOHUP_NICENESS" -plugin_dir="${PLUGIN_DIR:-@pkgplugindir@}${PLUGIN_VARIANT}" +plugin_dir="${PLUGIN_DIR:-$MY_BASEDIR_VERSION/lib/plugin}${PLUGIN_VARIANT}" for i in "$ledir/$MYSQLD" "$defaults" "--basedir=$MY_BASEDIR_VERSION" \ "--datadir=$DATADIR" "--plugin-dir=$plugin_dir" "$USER_OPTION" |