summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/trx0sys.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-09-05 13:14:37 +0200
committerSergei Golubchik <sergii@pisem.net>2012-09-05 13:14:37 +0200
commit6af914f8b94b98a5aa648f69383398741dcd9754 (patch)
tree899fb248b22fe3cf16cc940a80f867110d8f4ce7 /storage/xtradb/include/trx0sys.h
parent1f92707978d411a051b2bfa46ed361f60861ff73 (diff)
parent0352f09a2e3e17470ab75678265b98a275cb25a0 (diff)
downloadmariadb-git-6af914f8b94b98a5aa648f69383398741dcd9754.tar.gz
XtraDB from Percona-Server-5.5.27-rel28.1
Diffstat (limited to 'storage/xtradb/include/trx0sys.h')
-rw-r--r--storage/xtradb/include/trx0sys.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/xtradb/include/trx0sys.h b/storage/xtradb/include/trx0sys.h
index 976cb31563f..c933fb405e1 100644
--- a/storage/xtradb/include/trx0sys.h
+++ b/storage/xtradb/include/trx0sys.h
@@ -248,7 +248,6 @@ UNIV_INLINE
trx_id_t
trx_sys_get_new_trx_id(void);
/*========================*/
-#endif /* !UNIV_HOTBACKUP */
#ifdef UNIV_DEBUG
/* Flag to control TRX_RSEG_N_SLOTS behavior debugging. */
@@ -265,7 +264,6 @@ trx_write_trx_id(
/*=============*/
byte* ptr, /*!< in: pointer to memory where written */
trx_id_t id); /*!< in: id */
-#ifndef UNIV_HOTBACKUP
/*****************************************************************//**
Reads a trx id from an index page. In case that the id size changes in
some future version, this function should be used instead of
@@ -603,7 +601,6 @@ FIL_PAGE_ARCH_LOG_NO_OR_SPACE_NO. */
#define TRX_SYS_DOUBLEWRITE_BLOCK_SIZE FSP_EXTENT_SIZE
/* @} */
-#ifndef UNIV_HOTBACKUP
/** File format tag */
/* @{ */
/** The offset of the file format tag on the trx system header page
@@ -622,6 +619,7 @@ identifier is added to this 64-bit constant. */
| TRX_SYS_FILE_FORMAT_TAG_MAGIC_N_LOW)
/* @} */
+#ifndef UNIV_HOTBACKUP
/** Doublewrite control struct */
struct trx_doublewrite_struct{
mutex_t mutex; /*!< mutex protecting the first_free field and