MySQL 9.1.0
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:
[legend]

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

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