mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Changed -O6 to -O3
Portability fix for Innodb BUILD/compile-pentium-max: Change mode to -rwxrwxr-x BUILD/SETUP.sh: Changed -O6 to -O3 Docs/manual.texi: Changed -O6 to -O3 configure.in: Changed -O6 to -O3 Added test of pthread_yield (For Innodb) innobase/os/os0thread.c: Fix portability problem with RedHat 6.1 scripts/safe_mysqld.sh: Fix option --mysqld-version sql/gen_lex_hash.cc: Smaller array support-files/mysql.spec.sh: Changed -O6 to -O3
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user