diff options
author | Daniel Black <daniel@linux.vnet.ibm.com> | 2017-10-26 16:40:21 +1100 |
---|---|---|
committer | Daniel Black <daniel@linux.vnet.ibm.com> | 2017-10-26 16:40:21 +1100 |
commit | 91dc18dcf57d1c762c0395396eccc1726a1d5bcd (patch) | |
tree | 39575d588c215a4a9d14950422b9b21fb7e87954 /storage | |
parent | 387bdf07ae0973bc3e4dc3f5064d2a29c64bb769 (diff) | |
download | mariadb-git-91dc18dcf57d1c762c0395396eccc1726a1d5bcd.tar.gz |
innodb: remove recv_sys_mem_free - unused
Signed-off-by: Daniel Black <daniel@linux.vnet.ibm.com>
Diffstat (limited to 'storage')
-rw-r--r-- | storage/innobase/log/log0recv.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/storage/innobase/log/log0recv.cc b/storage/innobase/log/log0recv.cc index fd0940b08df..0e21682a7e2 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 |