MySQL 5.6.14 Source Code Document
|
#include <mdl.h>
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 |
Abstract class representing an edge in the waiters graph to be traversed by deadlock detection algorithm.
|
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.