MySQL 8.0.32
Source Code Documentation
Log_in_use Class Reference

This class implements Call back function for do_for_all_thd(). More...

Inheritance diagram for Log_in_use:
[legend]

Public Member Functions

 Log_in_use (const char *value)
 
void operator() (THD *thd) override
 
int get_count ()
 
- Public Member Functions inherited from Do_THD_Impl
virtual ~Do_THD_Impl ()=default
 

Private Attributes

const char * m_log_name
 
size_t m_log_name_len
 
int m_count
 

Detailed Description

This class implements Call back function for do_for_all_thd().

It is called for each thd in thd list to count threads using bin log file

Constructor & Destructor Documentation

◆ Log_in_use()

Log_in_use::Log_in_use ( const char *  value)
inline

Member Function Documentation

◆ get_count()

int Log_in_use::get_count ( )
inline

◆ operator()()

void Log_in_use::operator() ( THD thd)
inlineoverridevirtual

Implements Do_THD_Impl.

Member Data Documentation

◆ m_count

int Log_in_use::m_count
private

◆ m_log_name

const char* Log_in_use::m_log_name
private

◆ m_log_name_len

size_t Log_in_use::m_log_name_len
private

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