MySQL 5.6.14 Source Code Document
|
#include <table.h>
Public Member Functions | |
Wait_for_flush (MDL_context *ctx_arg, TABLE_SHARE *share_arg, uint deadlock_weight_arg) | |
MDL_context * | get_ctx () const |
virtual bool | accept_visitor (MDL_wait_for_graph_visitor *dvisitor) |
virtual uint | get_deadlock_weight () const |
Public Attributes | |
Wait_for_flush * | next_in_share |
Wait_for_flush ** | prev_in_share |
Additional Inherited Members | |
Public Types inherited from MDL_wait_for_subgraph | |
enum | enum_deadlock_weight { DEADLOCK_WEIGHT_DML = 0, DEADLOCK_WEIGHT_DDL = 100 } |
Class representing the fact that some thread waits for table share to be flushed. Is used to represent information about such waits in MDL deadlock detector.
|
virtual |
Traverse portion of wait-for graph which is reachable through edge represented by this flush ticket in search for deadlocks.
TRUE | A deadlock is found. A victim is remembered by the visitor. |
FALSE | Success, no deadlocks. |
Implements MDL_wait_for_subgraph.
Definition at line 3456 of file table.cc.
Wait_for_flush* Wait_for_flush::next_in_share |