diff options
author | monty@donna.mysql.fi <> | 2001-04-13 22:09:33 +0300 |
---|---|---|
committer | monty@donna.mysql.fi <> | 2001-04-13 22:09:33 +0300 |
commit | bc7731c0c767611f21225d3855ee4b447beebeb7 (patch) | |
tree | 334db2402b4aee273ded1ee0710570238dbc373a /scripts | |
parent | fc6dcf4df7c5c75ffcc5dd1a5c9c5dcb10442b0c (diff) | |
download | mariadb-git-bc7731c0c767611f21225d3855ee4b447beebeb7.tar.gz |
Changed -O6 to -O3
Portability fix for Innodb
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/safe_mysqld.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh index cc06d20668f..6c006e96768 100644 --- a/scripts/safe_mysqld.sh +++ b/scripts/safe_mysqld.sh @@ -52,7 +52,15 @@ 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=;;"` ;; + --mysqld-version=*) + tmp=`echo "$arg" | sed -e "s;--mysqld-version=;;"` + if test -n "$tmp" + then + MYSQLD="mysqld-$tmp" + else + MYSQLD="mysqld" + fi + ;; *) if test -n "$pick_args" then @@ -73,7 +81,7 @@ then MY_BASEDIR_VERSION=$MY_PWD # Where bin, share and data are ledir=$MY_BASEDIR_VERSION/bin # Where mysqld is DATADIR=$MY_BASEDIR_VERSION/data - if test -z "defaults" + if test -z "$defaults" then defaults="--defaults-extra-file=$MY_BASEDIR_VERSION/data/my.cnf" fi |