MySQL  8.0.17
Source Code Documentation
MDL_wait_for_subgraph Class Referenceabstract

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

#include <mdl.h>

Inheritance diagram for MDL_wait_for_subgraph:
MDL_ticket Wait_for_flush

Public Member Functions

virtual ~MDL_wait_for_subgraph ()
 
virtual bool accept_visitor (MDL_wait_for_graph_visitor *gvisitor)=0
 Accept a wait-for graph visitor to inspect the node this edge is leading to. More...
 
virtual uint get_deadlock_weight () const =0
 

Static Public Attributes

static const uint DEADLOCK_WEIGHT_DML = 0
 
static const uint DEADLOCK_WEIGHT_ULL = 50
 
static const uint DEADLOCK_WEIGHT_DDL = 100
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~MDL_wait_for_subgraph()

MDL_wait_for_subgraph::~MDL_wait_for_subgraph ( )
virtual

Member Function Documentation

◆ accept_visitor()

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.

◆ get_deadlock_weight()

virtual uint MDL_wait_for_subgraph::get_deadlock_weight ( ) const
pure virtual

Implemented in MDL_ticket, and Wait_for_flush.

Member Data Documentation

◆ DEADLOCK_WEIGHT_DDL

const uint MDL_wait_for_subgraph::DEADLOCK_WEIGHT_DDL = 100
static

◆ DEADLOCK_WEIGHT_DML

const uint MDL_wait_for_subgraph::DEADLOCK_WEIGHT_DML = 0
static

◆ DEADLOCK_WEIGHT_ULL

const uint MDL_wait_for_subgraph::DEADLOCK_WEIGHT_ULL = 50
static

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