MySQL 8.0.40
Source Code Documentation
Acl_cache_error_handler Class Reference

Internal_error_handler subclass to suppress ER_LOCK_DEADLOCK, ER_LOCK_WAIT_TIMEOUT, ER_QUERY_INTERRUPTED and ER_QUERY_TIMEOUT. More...

Inheritance diagram for Acl_cache_error_handler:
[legend]

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_handlerprev_internal_handler () const
 
virtual ~Internal_error_handler ()=default
 

Detailed Description

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.

Member Function Documentation

◆ handle_condition()

bool Acl_cache_error_handler::handle_condition ( THD thd,
uint  sql_errno,
const char *  sqlstate,
Sql_condition::enum_severity_level level,
const char *  msg 
)
inlineoverridevirtual

Handle an error condition.

Parameters
[in]thdTHD handle
[in]sql_errnoError raised by MDL subsystem
[in]sqlstateSQL state. Unused.
[in]levelSeverity level. Unused.
[in]msgMessage string. Unused.

Implements Internal_error_handler.


The documentation for this class was generated from the following file: