TrinityCore
Loading...
Searching...
No Matches
TransactionTask Class Reference

#include <Transaction.h>

Static Public Member Functions

static bool Execute (MySQLConnection *conn, std::shared_ptr< TransactionBase > trans)
 

Static Private Member Functions

static int TryExecute (MySQLConnection *conn, std::shared_ptr< TransactionBase > trans)
 

Static Private Attributes

static std::mutex _deadlockLock
 

Detailed Description

Low level class

Definition at line 95 of file Transaction.h.

Member Function Documentation

◆ Execute()

bool TransactionTask::Execute ( MySQLConnection *  conn,
std::shared_ptr< TransactionBase >  trans 
)
static

◆ TryExecute()

int TransactionTask::TryExecute ( MySQLConnection *  conn,
std::shared_ptr< TransactionBase >  trans 
)
staticprivate

Definition at line 95 of file Transaction.cpp.

References MySQLConnection::ExecuteTransaction().

Referenced by Transaction< T >::Append(), and Execute().

Member Data Documentation

◆ _deadlockLock

std::mutex TransactionTask::_deadlockLock
staticprivate

Definition at line 103 of file Transaction.h.

Referenced by Transaction< T >::Append().


The documentation for this class was generated from the following files: