summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@oracle.com>2010-04-26 14:26:09 +0300
committerMarko Mäkelä <marko.makela@oracle.com>2010-04-26 14:26:09 +0300
commit30d6298442801c41b9f6d1237e440acaa8eb1b90 (patch)
tree846c3d479c75fb909f45d2a88bc2ee7648f31680 /storage
parentbd4a354c2931f5093e98ea80446d05899ce8143a (diff)
downloadmariadb-git-30d6298442801c41b9f6d1237e440acaa8eb1b90.tar.gz
recv_sys_init(): Skip the red-black tree in Hot Backup.
Diffstat (limited to 'storage')
-rw-r--r--storage/innodb_plugin/log/log0recv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innodb_plugin/log/log0recv.c b/storage/innodb_plugin/log/log0recv.c
index 7f5b2df7882..dc1459b2c0f 100644
--- a/storage/innodb_plugin/log/log0recv.c
+++ b/storage/innodb_plugin/log/log0recv.c
@@ -300,11 +300,11 @@ recv_sys_init(
flush_list during recovery process.
As this initialization is done while holding the buffer pool
mutex we perform it before acquiring recv_sys->mutex. */
+#ifndef UNIV_HOTBACKUP
buf_flush_init_flush_rbt();
mutex_enter(&(recv_sys->mutex));
-#ifndef UNIV_HOTBACKUP
recv_sys->heap = mem_heap_create_in_buffer(256);
#else /* !UNIV_HOTBACKUP */
recv_sys->heap = mem_heap_create(256);