MySQL 26.7.0
Source Code Documentation
log_pre_8_0_30 Namespace Reference

Functions

std::string file_name (Log_file_id file_id)
 Provides name of the log file with the given file id, e.g. More...
 
bool 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 FILE_BASE_NAME = "ib_logfile"
 Prefix of log file name in the old redo format (before 8.0.30). More...
 
constexpr Log_file_id FILE_MAX_ID = 99
 Maximum redo log file id in the old format (before 8.0.30). More...
 

Function Documentation

◆ file_name()

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.

'ib_logfile0'.

Parameters
[in]file_idid of the log file
Returns
file name

◆ files_validate_format()

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.

Parameters
[in]files_ctxdefines context within which redo log files exist
[in]filesnon-empty list of file headers of existing log files, ordered by file_id
[out]formatdiscovered redo format if true was returned
Returns
true iff ib_logfile0 exists and has format older than VERSION_8_0_30

Variable Documentation

◆ FILE_BASE_NAME

constexpr const char* const log_pre_8_0_30::FILE_BASE_NAME = "ib_logfile"
constexpr

Prefix of log file name in the old redo format (before 8.0.30).

For more details

See also
Log_files_ruleset

◆ FILE_MAX_ID

constexpr Log_file_id log_pre_8_0_30::FILE_MAX_ID = 99
constexpr

Maximum redo log file id in the old format (before 8.0.30).