From 9bd414597439812fed43d062a085c49f6601c746 Mon Sep 17 00:00:00 2001
From: Vasil Dimov <vasil.dimov@oracle.com>
Date: Tue, 27 Apr 2010 17:05:41 +0300
Subject: [PATCH] Do not define UNIV_DEBUG_VALGRIND when HAVE_purify because
 this results in some valgrind errors.

Bug#53202 valgrind: uninitialized bytes in dtuple_print()
has been opened to track this.
---
 storage/innobase/include/univ.i | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i
index ee3a0b27b2..baff8f7952 100644
--- a/storage/innobase/include/univ.i
+++ b/storage/innobase/include/univ.i
@@ -82,9 +82,15 @@ memory is read outside the allocated blocks. */
 
 /* Make a non-inline debug version */
 
+#if 0
+/* Please enable this when
+Bug#53202 valgrind: uninitialized bytes in dtuple_print()
+if fixed */
 #ifdef HAVE_purify
 # define UNIV_DEBUG_VALGRIND
 #endif /* HAVE_purify */
+#endif
+
 #if 0
 #define UNIV_DEBUG_VALGRIND			/* Enable extra
 						Valgrind instrumentation */
-- 
2.30.9