MySQL 9.1.0
Source Code Documentation
|
Functor to check for dictionary latching constraints. More...
#include <sync0types.h>
Public Member Functions | |
dict_sync_check (bool dict_mutex_allowed) | |
Constructor. More... | |
~dict_sync_check () override=default | |
Destructor. More... | |
bool | operator() (const latch_level_t level) override |
Check the latching constraints. More... | |
virtual bool | result () const override |
Public Member Functions inherited from sync_check_functor_t | |
virtual | ~sync_check_functor_t ()=default |
Private Attributes | |
bool | m_result |
True if all OK. More... | |
const bool | m_dict_mutex_allowed |
True if it is OK to hold the dict mutex. More... | |
Functor to check for dictionary latching constraints.
|
inlineexplicit |
Constructor.
[in] | dict_mutex_allowed | true if the dict mutex is allowed |
|
overridedefault |
Destructor.
|
inlineoverridevirtual |
Check the latching constraints.
[in] | level | The level held by the thread |
Implements sync_check_functor_t.
|
inlineoverridevirtual |
Implements sync_check_functor_t.
|
private |
True if it is OK to hold the dict mutex.
|
private |
True if all OK.