Commit 30d62984 authored by Marko Mäkelä's avatar Marko Mäkelä

recv_sys_init(): Skip the red-black tree in Hot Backup.

parent bd4a354c
...@@ -300,11 +300,11 @@ recv_sys_init( ...@@ -300,11 +300,11 @@ recv_sys_init(
flush_list during recovery process. flush_list during recovery process.
As this initialization is done while holding the buffer pool As this initialization is done while holding the buffer pool
mutex we perform it before acquiring recv_sys->mutex. */ mutex we perform it before acquiring recv_sys->mutex. */
#ifndef UNIV_HOTBACKUP
buf_flush_init_flush_rbt(); buf_flush_init_flush_rbt();
mutex_enter(&(recv_sys->mutex)); mutex_enter(&(recv_sys->mutex));
#ifndef UNIV_HOTBACKUP
recv_sys->heap = mem_heap_create_in_buffer(256); recv_sys->heap = mem_heap_create_in_buffer(256);
#else /* !UNIV_HOTBACKUP */ #else /* !UNIV_HOTBACKUP */
recv_sys->heap = mem_heap_create(256); recv_sys->heap = mem_heap_create(256);
......
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