summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <jonas@perch.ndb.mysql.com>2006-08-02 09:13:43 +0200
committerunknown <jonas@perch.ndb.mysql.com>2006-08-02 09:13:43 +0200
commitf3606fa846886bfb62fa4092d72dba6265d60b32 (patch)
tree0586356497a5a808c8c5a97dadbadafb4bdd5c39 /BUILD
parentcd80d12035bded8cc59eb2b0c7760e15eaffbeb6 (diff)
parent753651c1db798da646b606b02b292919f1ffe04a (diff)
downloadmariadb-git-f3606fa846886bfb62fa4092d72dba6265d60b32.tar.gz
Merge perch.ndb.mysql.com:/home/jonas/src/41-work
into perch.ndb.mysql.com:/home/jonas/src/50-work
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/compile-ndb-autotest14
1 files changed, 12 insertions, 2 deletions
diff --git a/BUILD/compile-ndb-autotest b/BUILD/compile-ndb-autotest
index 3ef0091c155..be28cc28346 100755
--- a/BUILD/compile-ndb-autotest
+++ b/BUILD/compile-ndb-autotest
@@ -3,7 +3,17 @@
path=`dirname $0`
. "$path/SETUP.sh"
-extra_flags="$fast_cflags $max_cflags -g"
-extra_configs="$max_configs --with-ndb-test --with-ndb-ccflags="-DERROR_INSERT""
+extra_configs="$max_configs --with-ndb-test --with-ndb-ccflags='-DERROR_INSERT'"
+if [ "$full_debug" ]
+then
+ extra_flags="$debug_cflags"
+ c_warnings="$c_warnings $debug_extra_warnings"
+ cxx_warnings="$cxx_warnings $debug_extra_warnings"
+ extra_configs="$debug_configs $extra_configs"
+else
+ extra_flags="$fast_cflags"
+fi
+
+extra_flags="$extra_flags $max_cflags -g"
. "$path/FINISH.sh"