MySQL 8.0.37
Source Code Documentation
histograms::Histogram_error_handler Class Reference

RAII class to trap lower-level errors. More...

Inheritance diagram for histograms::Histogram_error_handler:
[legend]

Public Member Functions

 Histogram_error_handler (THD *thd)
 
 ~Histogram_error_handler () override
 
bool handle_condition (THD *, uint, const char *, Sql_condition::enum_severity_level *, const char *) override
 
bool has_error () const
 

Private Attributes

THDm_thd
 
bool m_has_error
 

Additional Inherited Members

- Protected Member Functions inherited from Internal_error_handler
 Internal_error_handler ()
 
Internal_error_handlerprev_internal_handler () const
 
virtual ~Internal_error_handler ()=default
 

Detailed Description

RAII class to trap lower-level errors.

Constructor & Destructor Documentation

◆ Histogram_error_handler()

histograms::Histogram_error_handler::Histogram_error_handler ( THD thd)
inline

◆ ~Histogram_error_handler()

histograms::Histogram_error_handler::~Histogram_error_handler ( )
inlineoverride

Member Function Documentation

◆ handle_condition()

bool histograms::Histogram_error_handler::handle_condition ( THD ,
uint  ,
const char *  ,
Sql_condition::enum_severity_level ,
const char *   
)
inlineoverridevirtual
Returns
true if the condition is handled

Implements Internal_error_handler.

◆ has_error()

bool histograms::Histogram_error_handler::has_error ( ) const
inline

Member Data Documentation

◆ m_has_error

bool histograms::Histogram_error_handler::m_has_error
private

◆ m_thd

THD* histograms::Histogram_error_handler::m_thd
private

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