|
MySQL 5.6.14 Source Code Document
|
#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 |
Public Attributes | |
| uint | m_lock_open_count |
An abstract class for inspection of a connected subgraph of the wait-for graph.
| 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.