60 uint sql_errno [[maybe_unused]],
61 const char *sqlstate [[maybe_unused]],
64 const char *msg)
override;
Self destroying THD.
Definition: auto_thd.h:36
Auto_THD()
Create THD object and initialize internal variables.
Definition: auto_thd.cc:36
~Auto_THD() override
Deinitialize THD.
Definition: auto_thd.cc:43
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.
Definition: auto_thd.cc:59
class THD * thd
Thd associated with the object.
Definition: auto_thd.h:67
This class represents the interface for internal error handlers.
Definition: error_handler.h:47
enum_severity_level
Enumeration value describing the severity of the condition.
Definition: sql_error.h:63
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Header for compiler-dependent features.