diff options
author | monty@donna.mysql.fi <> | 2001-04-13 16:21:38 +0300 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-04-13 16:21:38 +0300 |
commit | b897f84d74ef1d6a057837f8ba850826a2f5d3c2 (patch) | |
tree | d5bf5dce34ab694fbf5f6372332cd9a4226fe04c /scripts | |
parent | 46839ed2f225193b0aaa6386312fca90b1453bb5 (diff) | |
download | mariadb-git-b897f84d74ef1d6a057837f8ba850826a2f5d3c2.tar.gz |
Changes to get mysqld-max to compile
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/safe_mysqld.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh index 6d215ec3d16..cc06d20668f 100644 --- a/scripts/safe_mysqld.sh +++ b/scripts/safe_mysqld.sh @@ -52,6 +52,7 @@ parse_arguments() { --core-file-size=*) core_file_size=`echo "$arg" | sed -e "s;--core_file_size=;;"` ;; --timezone=*) TZ=`echo "$arg" | sed -e "s;--timezone=;;"` ; export TZ; ;; --mysqld=*) MYSQLD=`echo "$arg" | sed -e "s;--mysqld=;;"` ;; + --mysqld-version=*) MYSQLD=mysqld-`echo "$arg" | sed -e "s;--mysqld-version=;;"` ;; *) if test -n "$pick_args" then @@ -92,7 +93,14 @@ fi MYSQL_UNIX_PORT=${MYSQL_UNIX_PORT:-@MYSQL_UNIX_ADDR@} MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-@MYSQL_TCP_PORT@} user=@MYSQLD_USER@ -MYSQLD=mysqld + +# Use the mysqld-max binary by default if the user doesn't specify a binary +if test -x $ledir/mysqld-max +then + MYSQLD=mysqld-max +else + MYSQLD=mysqld +fi # these rely on $DATADIR by default, so we'll set them later on pid_file= |