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

#include <mdl.h>

Inheritance diagram for MDL_wait_for_subgraph:

Public Types

enum  enum_deadlock_weight { DEADLOCK_WEIGHT_DML = 0, DEADLOCK_WEIGHT_DDL = 100 }

Public Member Functions

virtual bool accept_visitor (MDL_wait_for_graph_visitor *gvisitor)=0
virtual uint get_deadlock_weight () const =0

Detailed Description

Abstract class representing an edge in the waiters graph to be traversed by deadlock detection algorithm.

Definition at line 523 of file mdl.h.

Member Function Documentation

virtual bool MDL_wait_for_subgraph::accept_visitor ( MDL_wait_for_graph_visitor gvisitor)
pure virtual

Accept a wait-for graph visitor to inspect the node this edge is leading to.

Implemented in MDL_ticket, and Wait_for_flush.


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