MySQL 9.1.0
Source Code Documentation
|
A simple holder for Internal_error_handler. More...
#include <thd_raii.h>
Public Member Functions | |
Internal_error_handler_holder (THD *thd, bool activate, Error_handler_arg *arg) | |
~Internal_error_handler_holder () | |
Private Attributes | |
THD * | m_thd |
bool | m_activate |
Error_handler | m_error_handler |
A simple holder for Internal_error_handler.
The class utilizes RAII technique to not forget to pop the handler.
Error_handler | Internal_error_handler to instantiate. |
Error_handler_arg | Type of the error handler ctor argument. |
|
inline |
|
inline |
|
private |
|
private |
|
private |