MySQL  8.0.27
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:
Commit_order_lock_graph 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_CO = 0
 
static const uint DEADLOCK_WEIGHT_DML = 25
 
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 ( )
virtualdefault

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 Wait_for_flush, Commit_order_lock_graph, and MDL_ticket.

◆ get_deadlock_weight()

virtual uint MDL_wait_for_subgraph::get_deadlock_weight ( ) const
pure virtual

Member Data Documentation

◆ DEADLOCK_WEIGHT_CO

const uint MDL_wait_for_subgraph::DEADLOCK_WEIGHT_CO = 0
static

◆ 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 = 25
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: