MySQL 8.3.0
Source Code Documentation
log0test.cc File Reference

Tools used to test redo log in gtests (log0log-t.cc). More...

#include "log0test.h"
#include "log0log.h"

Variables

static constexpr size_t MLOG_TEST_PAYLOAD_MAX_LEN = 50
 Maximum size of payload put inside each MLOG_TEST record. More...
 
static constexpr size_t MLOG_TEST_PAGE_SPACE_ID = 1
 Space id used for pages modified during tests of redo log. More...
 
std::unique_ptr< Log_testlog_test
 Represents currently running test of redo log, nullptr otherwise. More...
 

Detailed Description

Tools used to test redo log in gtests (log0log-t.cc).

Variable Documentation

◆ log_test

std::unique_ptr<Log_test> log_test

Represents currently running test of redo log, nullptr otherwise.

◆ MLOG_TEST_PAGE_SPACE_ID

constexpr size_t MLOG_TEST_PAGE_SPACE_ID = 1
staticconstexpr

Space id used for pages modified during tests of redo log.

◆ MLOG_TEST_PAYLOAD_MAX_LEN

constexpr size_t MLOG_TEST_PAYLOAD_MAX_LEN = 50
staticconstexpr

Maximum size of payload put inside each MLOG_TEST record.