MySQL  8.0.19
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:
Do_THD_Impl

Public Member Functions

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

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()()

virtual void Log_in_use::operator() ( THD thd)
inlinevirtual

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: