MySQL 8.0.39
Source Code Documentation
|
Internal_error_handler subclass to suppress ER_LOCK_DEADLOCK, ER_LOCK_WAIT_TIMEOUT, ER_QUERY_INTERRUPTED and ER_QUERY_TIMEOUT. More...
Public Member Functions | |
bool | handle_condition (THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_severity_level *level, const char *msg) override |
Handle an error 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 |
Internal_error_handler subclass to suppress ER_LOCK_DEADLOCK, ER_LOCK_WAIT_TIMEOUT, ER_QUERY_INTERRUPTED and ER_QUERY_TIMEOUT.
Instead, we will use Acl_cache_lock_guard::lock() to raise ER_CANNOT_LOCK_USER_MANAGEMENT_CACHES error.
|
inlineoverridevirtual |
Handle an error condition.
[in] | thd | THD handle |
[in] | sql_errno | Error raised by MDL subsystem |
[in] | sqlstate | SQL state. Unused. |
[in] | level | Severity level. Unused. |
[in] | msg | Message string. Unused. |
Implements Internal_error_handler.