summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-10-26 09:00:08 +0300
committerGitHub <noreply@github.com>2017-10-26 09:00:08 +0300
commit5144861be93d290949e88529bf9875bc741f71e7 (patch)
tree8bff2f5d0ebae659c38d54b175523420b9299aaa
parente99c7c8334f842a6515a3116fe2cafd59266a40e (diff)
parent91dc18dcf57d1c762c0395396eccc1726a1d5bcd (diff)
downloadmariadb-git-5144861be93d290949e88529bf9875bc741f71e7.tar.gz
Merge pull request #475 from grooverdan/10.2-no_recv_sys_mem_free
innodb: remove recv_sys_mem_free - unused
-rw-r--r--storage/innobase/log/log0recv.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/storage/innobase/log/log0recv.cc b/storage/innobase/log/log0recv.cc
index a91b62d11d9..b9202ce985f 100644
--- a/storage/innobase/log/log0recv.cc
+++ b/storage/innobase/log/log0recv.cc
@@ -452,35 +452,6 @@ recv_sys_close()
recv_spaces.clear();
}
-/********************************************************//**
-Frees the recovery system memory. */
-void
-recv_sys_mem_free(void)
-/*===================*/
-{
- if (recv_sys != NULL) {
- if (recv_sys->addr_hash != NULL) {
- hash_table_free(recv_sys->addr_hash);
- }
-
- if (recv_sys->heap != NULL) {
- mem_heap_free(recv_sys->heap);
- }
-
- if (recv_sys->flush_start != NULL) {
- os_event_destroy(recv_sys->flush_start);
- }
-
- if (recv_sys->flush_end != NULL) {
- os_event_destroy(recv_sys->flush_end);
- }
-
- ut_free(recv_sys->buf);
- ut_free(recv_sys);
- recv_sys = NULL;
- }
-}
-
/************************************************************
Reset the state of the recovery system variables. */
void