summaryrefslogtreecommitdiff
path: root/storage/innobase
diff options
context:
space:
mode:
authorMarko =?ISO-8859-1?Q?M=E4kel=E4?= <marko.makela@oracle.com>2010-04-19 13:36:03 +0300
committerMarko =?ISO-8859-1?Q?M=E4kel=E4?= <marko.makela@oracle.com>2010-04-19 13:36:03 +0300
commitca85feba83a8576a6ff78d7f85400f185ecd89e0 (patch)
tree442568bab6484f60b21cf3081cd7f06716ca0617 /storage/innobase
parent6f58f368461c2faabe2ce1b9c1c6b0a77d2e11fa (diff)
downloadmariadb-git-ca85feba83a8576a6ff78d7f85400f185ecd89e0.tar.gz
Enable UNIV_DEBUG_VALGRIND when HAVE_purify is set.
Diffstat (limited to 'storage/innobase')
-rw-r--r--storage/innobase/include/univ.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i
index 8ab62e655ff..ee3a0b27b20 100644
--- a/storage/innobase/include/univ.i
+++ b/storage/innobase/include/univ.i
@@ -82,6 +82,9 @@ memory is read outside the allocated blocks. */
/* Make a non-inline debug version */
+#ifdef HAVE_purify
+# define UNIV_DEBUG_VALGRIND
+#endif /* HAVE_purify */
#if 0
#define UNIV_DEBUG_VALGRIND /* Enable extra
Valgrind instrumentation */