MySQL 9.1.0
Source Code Documentation
|
Redo log functions and constants related to redo formats before 8.0.30. More...
#include "log0types.h"
Go to the source code of this file.
Classes | |
struct | log_pre_8_0_30::Checkpoint_header |
Meta data stored in one of two checkpoint headers. More... | |
Namespaces | |
namespace | log_pre_8_0_30 |
Functions | |
os_offset_t | log_pre_8_0_30::compute_real_offset_for_lsn (size_t n_files, os_offset_t file_size, lsn_t some_file_lsn, os_offset_t some_file_offset, lsn_t requested_lsn) |
Provides a file offset for the given lsn. More... | |
bool | log_pre_8_0_30::checkpoint_header_deserialize (const byte *buf, Checkpoint_header &header) |
Deserializes the log checkpoint header stored in the given buffer. More... | |
std::string | log_pre_8_0_30::file_name (Log_file_id file_id) |
Provides name of the log file with the given file id, e.g. More... | |
bool | log_pre_8_0_30::files_validate_format (const Log_files_context &files_ctx, const ut::vector< Log_file_id_and_header > &files, Log_format &format) |
Validates that ib_logfile0 exists and has format older than VERSION_8_0_30. More... | |
Variables | |
constexpr const char *const | log_pre_8_0_30::FILE_BASE_NAME = "ib_logfile" |
Prefix of log file name in the old redo format (before 8.0.30). More... | |
constexpr Log_file_id | log_pre_8_0_30::FILE_MAX_ID = 99 |
Maximum redo log file id in the old format (before 8.0.30). More... | |
constexpr os_offset_t | log_pre_8_0_30::FIELD_CHECKPOINT_NO = 0 |
Checkpoint number. More... | |
constexpr os_offset_t | log_pre_8_0_30::FIELD_CHECKPOINT_LSN = 8 |
Checkpoint lsn. More... | |
constexpr os_offset_t | log_pre_8_0_30::FIELD_CHECKPOINT_OFFSET = 16 |
Offset within the log files, which corresponds to checkpoint lsn. More... | |
constexpr uint32_t | log_pre_8_0_30::FIELD_CHECKPOINT_LOG_BUF_SIZE = 24 |
Size of the log buffer, when the checkpoint write was started. More... | |
Redo log functions and constants related to redo formats before 8.0.30.