MySQL 9.1.0
Source Code Documentation
|
An abstract class for inspection of a connected subgraph of the wait-for graph. More...
#include <mdl.h>
Public Member Functions | |
virtual bool | enter_node (MDL_context *node)=0 |
virtual void | leave_node (MDL_context *node)=0 |
virtual bool | inspect_edge (MDL_context *dest)=0 |
virtual | ~MDL_wait_for_graph_visitor () |
MDL_wait_for_graph_visitor () | |
Public Attributes | |
uint | m_lock_open_count |
XXX, hack: During deadlock search, we may need to inspect TABLE_SHAREs and acquire LOCK_open. More... | |
An abstract class for inspection of a connected subgraph of the wait-for graph.
|
virtualdefault |
|
inline |
|
pure virtual |
Implemented in Deadlock_detection_visitor.
|
pure virtual |
Implemented in Deadlock_detection_visitor.
|
pure virtual |
Implemented in Deadlock_detection_visitor.
uint MDL_wait_for_graph_visitor::m_lock_open_count |
XXX, hack: During deadlock search, we may need to inspect TABLE_SHAREs and acquire LOCK_open.
Since LOCK_open is not a recursive mutex, count here how many times we "took" it (but only take and release once). Not using a native recursive mutex or rwlock in 5.5 for LOCK_open since it has significant performance impacts.