MySQL 8.0.40
Source Code Documentation
|
This class is an internal error handler implementation for DROP TABLE statements. More...
#include <error_handler.h>
Public Member Functions | |
bool | handle_condition (THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_severity_level *level, const char *msg) override |
Implementation of Drop_table_error_handler::handle_condition(). 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 |
This class is an internal error handler implementation for DROP TABLE statements.
The thing is that there may be warnings during execution of these statements, which should not be exposed to the user. This class is intended to silence such warnings.
|
overridevirtual |
Implementation of Drop_table_error_handler::handle_condition().
The reason in having this implementation is to silence technical low-level warnings during DROP TABLE operation. Currently we don't want to expose the following warnings during DROP TABLE:
Implements Internal_error_handler.