MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MDL_wait_for_graph_visitor Class Reference

#include <mdl.h>

Inheritance diagram for MDL_wait_for_graph_visitor:

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

Detailed Description

An abstract class for inspection of a connected subgraph of the wait-for graph.

Definition at line 497 of file mdl.h.

Member Data Documentation

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.

Definition at line 515 of file mdl.h.


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