summaryrefslogtreecommitdiff
path: root/innobase/mem
diff options
context:
space:
mode:
authormarko@hundin.mysql.fi <>2004-06-16 13:41:14 +0300
committermarko@hundin.mysql.fi <>2004-06-16 13:41:14 +0300
commitd2724e66db4336c6e91ed743059d11f72704918e (patch)
treedf8a781b0b9fee71976881b14f7cbd640b3068ba /innobase/mem
parent3b34ea8cd0f2151fb6fecb7538cbc1d9cc1f171d (diff)
downloadmariadb-git-d2724e66db4336c6e91ed743059d11f72704918e.tar.gz
InnoDB: Revert most of ChangeSet@1.1772, as the debug functions may
be needed when testing production releases
Diffstat (limited to 'innobase/mem')
-rw-r--r--innobase/mem/mem0dbg.c2
-rw-r--r--innobase/mem/mem0pool.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/innobase/mem/mem0dbg.c b/innobase/mem/mem0dbg.c
index 6c97ef9eb8e..92c1235220e 100644
--- a/innobase/mem/mem0dbg.c
+++ b/innobase/mem/mem0dbg.c
@@ -375,7 +375,6 @@ 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
@@ -586,7 +585,6 @@ mem_heap_validate(
return(TRUE);
}
-#endif /* UNIV_DEBUG */
#ifdef UNIV_MEM_DEBUG
/*********************************************************************
diff --git a/innobase/mem/mem0pool.c b/innobase/mem/mem0pool.c
index d77432a1e20..cd75728c937 100644
--- a/innobase/mem/mem0pool.c
+++ b/innobase/mem/mem0pool.c
@@ -558,7 +558,6 @@ mem_area_free(
ut_ad(mem_pool_validate(pool));
}
-#ifdef UNIV_DEBUG
/************************************************************************
Validates a memory pool. */
@@ -636,7 +635,6 @@ mem_pool_print_info(
pool->reserved);
mutex_exit(&(pool->mutex));
}
-#endif /* UNIV_DEBUG */
/************************************************************************
Returns the amount of reserved memory. */