summaryrefslogtreecommitdiff
path: root/storage/innobase/mem/mem0dbg.c
diff options
context:
space:
mode:
authorSatya B <satya.bn@sun.com>2009-12-02 19:30:50 +0530
committerSatya B <satya.bn@sun.com>2009-12-02 19:30:50 +0530
commit57f7f1fdf34e8fa50949dcd58cb754e4317fccc0 (patch)
tree20b44164d11355963bfee1938eef05d8f545cfcf /storage/innobase/mem/mem0dbg.c
parent1b89c95f5719b59c510fed89005b6c20a5bb4a1a (diff)
parent685725eb006f51cedd93cc56b9ade8aa6d00c843 (diff)
downloadmariadb-git-57f7f1fdf34e8fa50949dcd58cb754e4317fccc0.tar.gz
Merge Innodb Plugin 1.0.6 from mysql-5.1-bugteam storage/innodb_plugin to mysql-trunk-merge.
Merging revisions 3221 to 3230 from mysql-5.1-bugteam
Diffstat (limited to 'storage/innobase/mem/mem0dbg.c')
-rw-r--r--storage/innobase/mem/mem0dbg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/storage/innobase/mem/mem0dbg.c b/storage/innobase/mem/mem0dbg.c
index a20eb2ad7d2..01eda20ec45 100644
--- a/storage/innobase/mem/mem0dbg.c
+++ b/storage/innobase/mem/mem0dbg.c
@@ -170,6 +170,17 @@ mem_init(
mem_comm_pool = mem_pool_create(size);
}
+
+/******************************************************************//**
+Closes the memory system. */
+UNIV_INTERN
+void
+mem_close(void)
+/*===========*/
+{
+ mem_pool_free(mem_comm_pool);
+ mem_comm_pool = NULL;
+}
#endif /* !UNIV_HOTBACKUP */
#ifdef UNIV_MEM_DEBUG