My Project
|
#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 |
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.
bool Wait_for_flush::accept_visitor | ( | MDL_wait_for_graph_visitor * | gvisitor | ) | [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.
Pointers for participating in the list of waiters for table share.