MySQL  8.0.19
Source Code Documentation
fseg_header Class Reference

A wrapper class to print the file segment header information. More...

#include <fsp0types.h>

Public Member Functions

 fseg_header (const fseg_header_t *header, mtr_t *mtr)
 Constructor of fseg_header. More...
 
std::ostream & to_stream (std::ostream &out) const
 Print the file segment header to the given output stream. More...
 

Private Attributes

const fseg_header_tm_header
 The underlying file segment header. More...
 
mtr_tm_mtr
 The mini transaction, which is used mainly to check whether appropriate latches have been taken by the calling thread. More...
 

Detailed Description

A wrapper class to print the file segment header information.

Constructor & Destructor Documentation

◆ fseg_header()

fseg_header::fseg_header ( const fseg_header_t header,
mtr_t mtr 
)
inline

Constructor of fseg_header.

Parameters
[in]headerthe underlying file segment header object
[in]mtrthe mini-transaction. No redo logs are generated, only latches are checked within mini-transaction

Member Function Documentation

◆ to_stream()

std::ostream & fseg_header::to_stream ( std::ostream &  out) const

Print the file segment header to the given output stream.

Parameters
[in,out]outthe output stream into which the object is printed.
Return values
theoutput stream into which the object was printed.
Parameters
[in]outthe output stream into which the object is printed.
Return values
theoutput stream into which the object was printed.

Member Data Documentation

◆ m_header

const fseg_header_t* fseg_header::m_header
private

The underlying file segment header.

◆ m_mtr

mtr_t* fseg_header::m_mtr
private

The mini transaction, which is used mainly to check whether appropriate latches have been taken by the calling thread.


The documentation for this class was generated from the following files: