CUBRID Engine  latest
log_comm.c File Reference
#include "config.h"
#include <assert.h>
#include <sys/time.h>
#include "log_comm.h"
#include "memory_alloc.h"
#include "storage_common.h"
#include "error_manager.h"
#include "porting.h"
#include "environment_variable.h"
#include "system_parameter.h"
#include "misc_string.h"
#include "intl_support.h"
#include "log_common_impl.h"
Include dependency graph for log_comm.c:

Go to the source code of this file.

Classes

struct  tran_state_name
 
struct  isolation_name
 

Typedefs

typedef struct tran_state_name TRAN_STATE_NAME
 
typedef struct isolation_name TRAN_ISOLATION_NAME
 

Functions

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

Variables

static TRAN_STATE_NAME log_Tran_state_names []
 
static TRAN_ISOLATION_NAME log_Isolation_names []
 
const int LOG_MIN_NBUFFERS = 3
 

Typedef Documentation

Definition at line 104 of file log_comm.c.

Definition at line 64 of file log_comm.c.

Function Documentation

const char* log_isolation_string ( TRAN_ISOLATION  isolation)

Definition at line 176 of file log_comm.c.

References i, log_Isolation_names, and isolation_name::name.

Referenced by logtb_descriptors_start_scan(), logtb_dump_tdes(), and xlock_dump().

Here is the caller graph for this function:

const char* log_state_short_string ( TRAN_STATE  state)

Definition at line 152 of file log_comm.c.

References log_state_string().

Referenced by logtb_descriptors_start_scan().

Here is the caller graph for this function:

Variable Documentation

TRAN_ISOLATION_NAME log_Isolation_names[]
static
Initial value:
= {
{TRAN_SERIALIZABLE, "SERIALIZABLE"},
{TRAN_REPEATABLE_READ, "REPEATABLE READ"},
{TRAN_READ_COMMITTED, "COMMITTED READ"},
{TRAN_UNKNOWN_ISOLATION, "TRAN_UNKNOWN_ISOLATION"}
}

Definition at line 106 of file log_comm.c.

Referenced by log_isolation_string().

const int LOG_MIN_NBUFFERS = 3

Definition at line 113 of file log_comm.c.

TRAN_STATE_NAME log_Tran_state_names[]
static

Definition at line 66 of file log_comm.c.

Referenced by log_state_string().