My Project
Public Member Functions | Public Attributes
MDL_wait_for_graph_visitor Class Reference

#include <mdl.h>

Inheritance diagram for MDL_wait_for_graph_visitor:

List of all members.

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.

Member Data Documentation

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.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines