MySQL 8.4.3
Source Code Documentation
|
Self destroying THD. More...
#include <auto_thd.h>
Public Member Functions | |
Auto_THD () | |
Create THD object and initialize internal variables. More... | |
~Auto_THD () override | |
Deinitialize THD. More... | |
bool | handle_condition (class THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_severity_level *level, const char *msg) override |
Error handler that prints error message on to the error log. More... | |
Public Attributes | |
class THD * | thd |
Thd associated with the object. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Internal_error_handler | |
Internal_error_handler () | |
Internal_error_handler * | prev_internal_handler () const |
virtual | ~Internal_error_handler ()=default |
Self destroying THD.
Auto_THD::Auto_THD | ( | ) |
Create THD object and initialize internal variables.
|
override |
Deinitialize THD.
|
overridevirtual |
Error handler that prints error message on to the error log.
thd | Current THD. |
sql_errno | Error id. |
sqlstate | State of the SQL error. |
level | Error level. |
msg | Message to be reported. |
Implements Internal_error_handler.
class THD* Auto_THD::thd |
Thd associated with the object.