MySQL 8.0.39
Source Code Documentation
PFS_key_error_log_logged Class Reference

Key for the LOGGED (timestamp/primary key) column. More...

#include <table_error_log.h>

Inheritance diagram for PFS_key_error_log_logged:
[legend]

Public Member Functions

 PFS_key_error_log_logged (const char *name)
 
 ~PFS_key_error_log_logged () override=default
 
void read (PFS_key_reader &reader, enum ha_rkey_function find_flag) override
 
bool match (const log_sink_pfs_event *row)
 Match function / comparator for the key on the LOGGED column. More...
 
- Public Member Functions inherited from PFS_key_ulonglong
 PFS_key_ulonglong (const char *name)
 
 ~PFS_key_ulonglong () override=default
 
void read (PFS_key_reader &reader, enum ha_rkey_function find_flag) override
 
- Public Member Functions inherited from PFS_engine_key
 PFS_engine_key (const char *name)
 
virtual ~PFS_engine_key ()=default
 

Private Attributes

ulonglong m_key_value
 

Additional Inherited Members

- Static Public Member Functions inherited from PFS_key_ulonglong
static bool stateless_match (bool record_null, ulonglong record_value, bool m_is_null, ulonglong m_key_value, enum ha_rkey_function find_flag)
 
- Public Attributes inherited from PFS_engine_key
const char * m_name
 
- Protected Member Functions inherited from PFS_key_ulonglong
bool do_match (bool record_null, ulonglong record_value)
 
- Protected Attributes inherited from PFS_engine_key
enum ha_rkey_function m_find_flag
 
bool m_is_null
 

Detailed Description

Key for the LOGGED (timestamp/primary key) column.

We process these values as ulongongs, so inherit from PFS_key_ulonglong. The keys are stored as TIMESTAMP(6) however, so we use a custom reader that reads that format and returns a ulonglong.

Constructor & Destructor Documentation

◆ PFS_key_error_log_logged()

PFS_key_error_log_logged::PFS_key_error_log_logged ( const char *  name)
inlineexplicit

◆ ~PFS_key_error_log_logged()

PFS_key_error_log_logged::~PFS_key_error_log_logged ( )
overridedefault

Member Function Documentation

◆ match()

bool PFS_key_error_log_logged::match ( const log_sink_pfs_event row)

Match function / comparator for the key on the LOGGED column.

◆ read()

void PFS_key_error_log_logged::read ( PFS_key_reader reader,
enum ha_rkey_function  find_flag 
)
inlineoverridevirtual

Implements PFS_engine_key.

Member Data Documentation

◆ m_key_value

ulonglong PFS_key_error_log_logged::m_key_value
private

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