My Project
Public Member Functions | Public Attributes
Wait_for_flush Class Reference

#include <table.h>

Inheritance diagram for Wait_for_flush:

List of all members.

Public Member Functions

 Wait_for_flush (MDL_context *ctx_arg, TABLE_SHARE *share_arg, uint deadlock_weight_arg)
MDL_contextget_ctx () const
virtual bool accept_visitor (MDL_wait_for_graph_visitor *dvisitor)
virtual uint get_deadlock_weight () const

Public Attributes

Wait_for_flush ** prev_in_share

Detailed Description

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.

Member Function Documentation

Traverse portion of wait-for graph which is reachable through edge represented by this flush ticket in search for deadlocks.

Return values:
TRUEA deadlock is found. A victim is remembered by the visitor.
FALSESuccess, no deadlocks.

Implements MDL_wait_for_subgraph.

Member Data Documentation

Pointers for participating in the list of waiters for table share.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines