summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/util/scoped_malloc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/util/scoped_malloc.cc')
-rw-r--r--storage/tokudb/PerconaFT/util/scoped_malloc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/PerconaFT/util/scoped_malloc.cc b/storage/tokudb/PerconaFT/util/scoped_malloc.cc
index e13e1c2424a..6c4fb95a318 100644
--- a/storage/tokudb/PerconaFT/util/scoped_malloc.cc
+++ b/storage/tokudb/PerconaFT/util/scoped_malloc.cc
@@ -94,7 +94,7 @@ namespace toku {
}
void destroy() {
-#ifdef TOKU_SCOPED_MALLOC_DEBUG
+#if defined(TOKU_SCOPED_MALLOC_DEBUG) && TOKU_SCOPED_MALLOC_DEBUG
printf("%s %p %p\n", __FUNCTION__, this, m_stack);
#endif
if (m_stack != NULL) {