summaryrefslogtreecommitdiff
path: root/storage/innobase/include/page0zip.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/page0zip.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/page0zip.h')
-rw-r--r--storage/innobase/include/page0zip.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/storage/innobase/include/page0zip.h b/storage/innobase/include/page0zip.h
index 7b5df3d306b..4a32595af66 100644
--- a/storage/innobase/include/page0zip.h
+++ b/storage/innobase/include/page0zip.h
@@ -97,7 +97,6 @@ page_zip_set_size(
page_zip_des_t* page_zip, /*!< in/out: compressed page */
ulint size); /*!< in: size in bytes */
-#ifndef UNIV_HOTBACKUP
/** Determine if a record is so big that it needs to be stored externally.
@param[in] rec_size length of the record in bytes
@param[in] comp nonzero=compact format
@@ -132,7 +131,6 @@ bool
page_zip_is_too_big(
const dict_index_t* index,
const dtuple_t* entry);
-#endif /* !UNIV_HOTBACKUP */
/**********************************************************************//**
Initialize a compressed page descriptor. */
@@ -459,7 +457,7 @@ page_zip_reorganize(
dict_index_t* index, /*!< in: index of the B-tree node */
mtr_t* mtr) /*!< in: mini-transaction */
MY_ATTRIBUTE((nonnull));
-#ifndef UNIV_HOTBACKUP
+
/**********************************************************************//**
Copy the records of a page byte for byte. Do not copy the page header
or trailer, except those B-tree header fields that are directly
@@ -476,7 +474,6 @@ page_zip_copy_recs(
const page_t* src, /*!< in: page */
dict_index_t* index, /*!< in: index of the B-tree */
mtr_t* mtr); /*!< in: mini-transaction */
-#endif /* !UNIV_HOTBACKUP */
/**********************************************************************//**
Parses a log record of compressing an index page.