summaryrefslogtreecommitdiff
path: root/innobase/include/log0log.ic
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-05-26 10:45:37 +0300
committerunknown <marko@hundin.mysql.fi>2004-05-26 10:45:37 +0300
commit3b1dd9af7b1ba6645bf8c5594ee456ca62d0f4c0 (patch)
treeb8a816bf30c5f9ebbb34b90c791ba63dc71d3ab2 /innobase/include/log0log.ic
parentfd079fdaa15ce2ed1b2d59cc6ff7dcba2bbc4112 (diff)
downloadmariadb-git-3b1dd9af7b1ba6645bf8c5594ee456ca62d0f4c0.tar.gz
InnoDB cleanup: Remove unused code for online backup
innobase/include/log0log.h: Remove references to online backup innobase/include/log0log.ic: Remove references to online backup innobase/include/mtr0mtr.h: Remove references to MLOG_FULL_PAGE innobase/log/log0log.c: Remove references to online backup innobase/log/log0recv.c: Remove references to MLOG_FULL_PAGE innobase/mtr/mtr0mtr.c: Remove references to MLOG_FULL_PAGE Remove references to online backup
Diffstat (limited to 'innobase/include/log0log.ic')
-rw-r--r--innobase/include/log0log.ic36
1 files changed, 1 insertions, 35 deletions
diff --git a/innobase/include/log0log.ic b/innobase/include/log0log.ic
index 6e32a45cdc5..c38e5fe2b9c 100644
--- a/innobase/include/log0log.ic
+++ b/innobase/include/log0log.ic
@@ -318,8 +318,7 @@ log_reserve_and_write_fast(
data_len = len + log->buf_free % OS_FILE_LOG_BLOCK_SIZE;
- if (log->online_backup_state
- || (data_len >= OS_FILE_LOG_BLOCK_SIZE - LOG_BLOCK_TRL_SIZE)) {
+ if (data_len >= OS_FILE_LOG_BLOCK_SIZE - LOG_BLOCK_TRL_SIZE) {
/* The string does not fit within the current log block
or the log block would become full */
@@ -403,36 +402,3 @@ log_free_check(void)
log_check_margins();
}
}
-
-/****************************************************************************
-Gets the online backup lsn. */
-UNIV_INLINE
-dulint
-log_get_online_backup_lsn_low(void)
-/*===============================*/
- /* out: online_backup_lsn, the caller must
- own the log_sys mutex */
-{
-#ifdef UNIV_SYNC_DEBUG
- ut_ad(mutex_own(&(log_sys->mutex)));
-#endif /* UNIV_SYNC_DEBUG */
- ut_ad(log_sys->online_backup_state);
-
- return(log_sys->online_backup_lsn);
-}
-
-/****************************************************************************
-Gets the online backup state. */
-UNIV_INLINE
-ibool
-log_get_online_backup_state_low(void)
-/*=================================*/
- /* out: online backup state, the caller must
- own the log_sys mutex */
-{
-#ifdef UNIV_SYNC_DEBUG
- ut_ad(mutex_own(&(log_sys->mutex)));
-#endif /* UNIV_SYNC_DEBUG */
-
- return(log_sys->online_backup_state);
-}