summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-10-08 21:50:05 +0300
committermonty@narttu.mysql.fi <>2003-10-08 21:50:05 +0300
commitd37a5c4dd7b3c3e143e2c5236a160b99e19392b9 (patch)
treecaac541df5c696ac2dd3b9e21880442e8961b4dc /BUILD
parentdc6f07256c494ed638eafc5bbaf913527204011c (diff)
downloadmariadb-git-d37a5c4dd7b3c3e143e2c5236a160b99e19392b9.tar.gz
Indentation cleanups
Remove wait_if_global_read_lock on commit as this can cause deadlocks
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD/FINISH.sh2
-rw-r--r--BUILD/SETUP.sh4
-rwxr-xr-xBUILD/compile-pentium-valgrind-max32
3 files changed, 14 insertions, 24 deletions
diff --git a/BUILD/FINISH.sh b/BUILD/FINISH.sh
index 72188b9c24b..094eb8275d6 100644
--- a/BUILD/FINISH.sh
+++ b/BUILD/FINISH.sh
@@ -49,7 +49,7 @@ strip sql/mysqld"
fi
fi
-if test -z "$nonono"
+if test -z "$just_print"
then
eval "set -x; $commands"
else
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 4d41f514704..aa6b412d73b 100644
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -4,13 +4,13 @@ then
exit 1
fi
-nonono=
+just_print=
just_configure=
while test $# -gt 0
do
case "$1" in
-c | --just-configure ) just_configure=1; shift ;;
- -n | --just-print | --print ) nonono=1; shift ;;
+ -n | --just-print | --print ) just_print=1; shift ;;
-h | --help ) cat <<EOF; exit 0 ;;
Usage: $0 [-h|-n] [configure-options]
-h, --help Show this help message.
diff --git a/BUILD/compile-pentium-valgrind-max b/BUILD/compile-pentium-valgrind-max
index f752af86d1c..f47061b95dd 100755
--- a/BUILD/compile-pentium-valgrind-max
+++ b/BUILD/compile-pentium-valgrind-max
@@ -1,17 +1,5 @@
#! /bin/sh
-echo "\
-********************************************************************************
-Note that by default BUILD/compile-pentium-valgrind-max calls 'configure' with
---enable-assembler. When Valgrind detects an error involving an assembly
-function (for example an uninitialized value used as an argument of an assembly
-function), Valgrind will not print the stacktrace and 'valgrind
---gdb-attach=yes' will not work either. If you need a stacktrace in those cases,
-you have to run BUILD/compile-pentium-valgrind-max with the --disable-assembler
-argument.
-********************************************************************************
-"
-
path=`dirname $0`
. "$path/SETUP.sh"
@@ -24,14 +12,16 @@ extra_configs="$extra_configs --with-berkeley-db --with-innodb --without-isam --
. "$path/FINISH.sh"
-echo "\
-********************************************************************************
+if test -z "$just_print"
+then
+ echo "\
+******************************************************************************
Note that by default BUILD/compile-pentium-valgrind-max calls 'configure' with
--enable-assembler. When Valgrind detects an error involving an assembly
-function (for example an uninitialized value used as an argument of an assembly
-function), Valgrind will not print the stacktrace and 'valgrind
---gdb-attach=yes' will not work either. If you need a stacktrace in those cases,
-you have to run BUILD/compile-pentium-valgrind-max with the --disable-assembler
-argument.
-********************************************************************************
-"
+function (for example an uninitialized value used as an argument of an
+assembly function), Valgrind will not print the stacktrace and 'valgrind
+--gdb-attach=yes' will not work either. If you need a stacktrace in those
+cases, you have to run BUILD/compile-pentium-valgrind-max with the
+--disable-assembler argument.
+******************************************************************************"
+fi