CUBRID Engine  latest
mvcc_trans_status Struct Reference

#include <mvcc_table.hpp>

Collaboration diagram for mvcc_trans_status:
Collaboration graph

Public Types

enum  event_type { COMMIT, ROLLBACK, SUBTRAN }
 
using version_type = unsigned int
 

Public Member Functions

 mvcc_trans_status ()
 
 ~mvcc_trans_status ()
 
void initialize ()
 
void finalize ()
 

Public Attributes

mvcc_active_tran m_active_mvccs
 
MVCCID m_last_completed_mvccid
 
event_type m_event_type
 
std::atomic< version_typem_version
 

Detailed Description

Definition at line 40 of file mvcc_table.hpp.

Member Typedef Documentation

using mvcc_trans_status::version_type = unsigned int

Definition at line 42 of file mvcc_table.hpp.

Member Enumeration Documentation

Enumerator
COMMIT 
ROLLBACK 
SUBTRAN 

Definition at line 44 of file mvcc_table.hpp.

Constructor & Destructor Documentation

mvcc_trans_status::mvcc_trans_status ( )

Definition at line 114 of file mvcc_table.cpp.

mvcc_trans_status::~mvcc_trans_status ( )

Definition at line 122 of file mvcc_table.cpp.

Member Function Documentation

void mvcc_trans_status::finalize ( void  )

Definition at line 134 of file mvcc_table.cpp.

References mvcc_active_tran::finalize(), and m_active_mvccs.

Referenced by mvcctable::finalize().

Here is the caller graph for this function:

void mvcc_trans_status::initialize ( )

Definition at line 127 of file mvcc_table.cpp.

References mvcc_active_tran::initialize(), m_active_mvccs, and m_version.

Referenced by mvcctable::initialize().

Here is the caller graph for this function:

Member Data Documentation

event_type mvcc_trans_status::m_event_type

Definition at line 54 of file mvcc_table.hpp.

Referenced by mvcctable::complete_mvcc(), and mvcctable::next_tran_status_finish().

MVCCID mvcc_trans_status::m_last_completed_mvccid
std::atomic<version_type> mvcc_trans_status::m_version

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