Skip to content

File log_comm.h

FileList > cubrid > src > transaction > log_comm.h

Go to the source code of this file

  • #include "dbtran_def.h"
  • #include "storage_common.h"
  • #include <stdio.h>

Public Types

Type Name
enum LOG_RESULT_TOPOP
typedef DB_TRAN_ISOLATION TRAN_ISOLATION
enum TRAN_STATE

Public Attributes

Type Name
const int LOG_MIN_NBUFFERS

Public Functions

Type Name
bool log_does_allow_replication (void)
int log_dump_log_info (const char * logname_info, bool also_stdout, const char * fmt, ...)
const char * log_isolation_string (TRAN_ISOLATION isolation)
const char * log_state_short_string (TRAN_STATE state)
const char * log_state_string (TRAN_STATE state)

Macros

Type Name
define TIME_SIZE_OF_DUMP_LOG_INFO 30
define TRAN_LOCK_INFINITE_WAIT (-1)

Public Types Documentation

enum LOG_RESULT_TOPOP

enum LOG_RESULT_TOPOP {
    LOG_RESULT_TOPOP_COMMIT,
    LOG_RESULT_TOPOP_ABORT,
    LOG_RESULT_TOPOP_ATTACH_TO_OUTER
};

typedef TRAN_ISOLATION

typedef DB_TRAN_ISOLATION TRAN_ISOLATION;

enum TRAN_STATE

enum TRAN_STATE {
    TRAN_RECOVERY,
    TRAN_ACTIVE,
    TRAN_UNACTIVE_COMMITTED,
    TRAN_UNACTIVE_WILL_COMMIT,
    TRAN_UNACTIVE_COMMITTED_WITH_POSTPONE,
    TRAN_UNACTIVE_TOPOPE_COMMITTED_WITH_POSTPONE,
    TRAN_UNACTIVE_ABORTED,
    TRAN_UNACTIVE_UNILATERALLY_ABORTED,
    TRAN_UNACTIVE_2PC_PREPARE,
    TRAN_UNACTIVE_2PC_COLLECTING_PARTICIPANT_VOTES,
    TRAN_UNACTIVE_2PC_ABORT_DECISION,
    TRAN_UNACTIVE_2PC_COMMIT_DECISION,
    TRAN_UNACTIVE_COMMITTED_INFORMING_PARTICIPANTS,
    TRAN_UNACTIVE_ABORTED_INFORMING_PARTICIPANTS,
    TRAN_UNACTIVE_UNKNOWN
};

Public Attributes Documentation

variable LOG_MIN_NBUFFERS

const int LOG_MIN_NBUFFERS;

Public Functions Documentation

function log_does_allow_replication

bool log_does_allow_replication (
    void
) 

function log_dump_log_info

int log_dump_log_info (
    const  char * logname_info,
    bool also_stdout,
    const  char * fmt,
    ...
) 

function log_isolation_string

const  char * log_isolation_string (
    TRAN_ISOLATION isolation
) 

function log_state_short_string

const  char * log_state_short_string (
    TRAN_STATE state
) 

function log_state_string

const  char * log_state_string (
    TRAN_STATE state
) 

Macro Definition Documentation

define TIME_SIZE_OF_DUMP_LOG_INFO

#define TIME_SIZE_OF_DUMP_LOG_INFO `30`

define TRAN_LOCK_INFINITE_WAIT

#define TRAN_LOCK_INFINITE_WAIT `(-1)`


The documentation for this class was generated from the following file cubrid/src/transaction/log_comm.h