summaryrefslogtreecommitdiff
path: root/innobase/include/mem0pool.h
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-04-07 14:19:26 +0300
committermarko@hundin.mysql.fi <>2004-04-07 14:19:26 +0300
commit253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f (patch)
tree2f1cb9f7307ff2cede7e13d739760692e11dcaaf /innobase/include/mem0pool.h
parent44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff)
downloadmariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/include/mem0pool.h')
-rw-r--r--innobase/include/mem0pool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/include/mem0pool.h b/innobase/include/mem0pool.h
index 43707bd5f61..95cf19676fb 100644
--- a/innobase/include/mem0pool.h
+++ b/innobase/include/mem0pool.h
@@ -83,6 +83,7 @@ Releases the mem pool mutex. */
void
mem_pool_mutex_exit(void);
/*=====================*/
+#ifdef UNIV_DEBUG
/************************************************************************
Validates a memory pool. */
@@ -99,7 +100,7 @@ mem_pool_print_info(
/*================*/
FILE* outfile,/* in: output file to write to */
mem_pool_t* pool); /* in: memory pool */
-
+#endif /* UNIV_DEBUG */
#ifndef UNIV_NONINL
#include "mem0pool.ic"