summaryrefslogtreecommitdiff
path: root/innobase/mem/mem0dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/mem/mem0dbg.c')
-rw-r--r--innobase/mem/mem0dbg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/innobase/mem/mem0dbg.c b/innobase/mem/mem0dbg.c
index 92c1235220e..6c97ef9eb8e 100644
--- a/innobase/mem/mem0dbg.c
+++ b/innobase/mem/mem0dbg.c
@@ -375,6 +375,7 @@ mem_hash_remove(
}
#endif /* UNIV_MEM_DEBUG */
+#ifdef UNIV_DEBUG
/*******************************************************************
Checks a memory heap for consistency and prints the contents if requested.
Outputs the sum of sizes of buffers given to the user (only in
@@ -585,6 +586,7 @@ mem_heap_validate(
return(TRUE);
}
+#endif /* UNIV_DEBUG */
#ifdef UNIV_MEM_DEBUG
/*********************************************************************