summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDavi Arnaut <davi.arnaut@oracle.com>2010-08-06 09:59:38 -0300
committerDavi Arnaut <davi.arnaut@oracle.com>2010-08-06 09:59:38 -0300
commit76382d2746adc7f0d0a16e3addd317e559261a26 (patch)
tree32a84b14d8129529a02df04c5ded3b249fa1af77 /configure.in
parent9d503b77e40436e1e90c8f383fddf210026b9623 (diff)
downloadmariadb-git-76382d2746adc7f0d0a16e3addd317e559261a26.tar.gz
Bug#34043: Server loops excessively in _checkchunk() when safemalloc is enabled
Post-merge fix: remove --with-debug=full, it was only used for safemalloc. BUILD/compile-pentium-mysqlfs-debug: Remove build script for a feature that is long gone.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.in b/configure.in
index 7121a521f87..93a447919da 100644
--- a/configure.in
+++ b/configure.in
@@ -1732,22 +1732,14 @@ then
fi
AC_ARG_WITH(debug,
- [ --with-debug Add debug code
- --with-debug=full Add debug code (adds memory checker, very slow)],
+ [AS_HELP_STRING([--with-debug], [Add debug code @<:@default=no@:>@])]
[with_debug=$withval],
[with_debug=no])
if test "$with_debug" = "yes"
then
- # Medium debug.
AC_DEFINE([DBUG_ON], [1], [Use libdbug])
CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC -DSAFE_MUTEX $CFLAGS"
CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX -DSAFE_MUTEX $CXXFLAGS"
-elif test "$with_debug" = "full"
-then
- # Full debug. Very slow in some cases
- AC_DEFINE([DBUG_ON], [1], [Use libdbug])
- CFLAGS="$DEBUG_CFLAGS -DSAFE_MUTEX $CFLAGS"
- CXXFLAGS="$DEBUG_CXXFLAGS -DSAFE_MUTEX $CXXFLAGS"
else
# Optimized version. No debug
AC_DEFINE([DBUG_OFF], [1], [Don't use libdbug])