Commit 5144861b authored by Marko Mäkelä's avatar Marko Mäkelä Committed by GitHub

Merge pull request #475 from grooverdan/10.2-no_recv_sys_mem_free

innodb: remove recv_sys_mem_free - unused
parents e99c7c83 91dc18dc
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment