summaryrefslogtreecommitdiff
path: root/storage/innobase/include/buf0flu.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2016-12-30 15:04:10 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2016-12-30 16:05:42 +0200
commit63574f1275eda0f0ed439f4896b6e7daf6832a8f (patch)
treeaead50be1af894234be2be8d06c341e328bf8636 /storage/innobase/include/buf0flu.h
parent9ebd76733198578e0ac8ca854d667ab114b3d581 (diff)
downloadmariadb-git-63574f1275eda0f0ed439f4896b6e7daf6832a8f.tar.gz
MDEV-11690 Remove UNIV_HOTBACKUP
The InnoDB source code contains quite a few references to a closed-source hot backup tool which was originally called InnoDB Hot Backup (ibbackup) and later incorporated in MySQL Enterprise Backup. The open source backup tool XtraBackup uses the full database for recovery. So, the references to UNIV_HOTBACKUP are only cluttering the source code.
Diffstat (limited to 'storage/innobase/include/buf0flu.h')
-rw-r--r--storage/innobase/include/buf0flu.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/storage/innobase/include/buf0flu.h b/storage/innobase/include/buf0flu.h
index 40083798d48..273f9666419 100644
--- a/storage/innobase/include/buf0flu.h
+++ b/storage/innobase/include/buf0flu.h
@@ -30,7 +30,6 @@ Created 11/5/1995 Heikki Tuuri
#include "univ.i"
#include "ut0byte.h"
#include "log0log.h"
-#ifndef UNIV_HOTBACKUP
#include "buf0types.h"
/** Flag indicating if the page_cleaner is in active state. */
@@ -77,7 +76,6 @@ void
buf_flush_write_complete(
/*=====================*/
buf_page_t* bpage); /*!< in: pointer to the block in question */
-#endif /* !UNIV_HOTBACKUP */
/** Initialize a page for writing to the tablespace.
@param[in] block buffer block; NULL if bypassing the buffer pool
@param[in,out] page page frame
@@ -92,7 +90,6 @@ buf_flush_init_for_writing(
lsn_t newest_lsn,
bool skip_checksum);
-#ifndef UNIV_HOTBACKUP
# if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
/********************************************************************//**
Writes a flushable page asynchronously from the buffer pool to a file.
@@ -128,7 +125,6 @@ buf_flush_do_batch(
lsn_t lsn_limit,
flush_counters_t* n);
-
/** This utility flushes dirty blocks from the end of the flush list of all
buffer pool instances.
NOTE: The calling thread is not allowed to own any latches on pages!
@@ -438,8 +434,6 @@ private:
bool m_interrupted;
};
-#endif /* !UNIV_HOTBACKUP */
-
/******************************************************************//**
Start a buffer flush batch for LRU or flush list */
ibool