CUBRID Engine  latest
event_log.h File Reference
#include "query_list.h"
#include "thread_compat.hpp"
#include <stdio.h>
Include dependency graph for event_log.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EVENT_EMPTY_QUERY   "***EMPTY***"
 

Functions

void event_log_init (const char *db_name)
 
void event_log_final (void)
 
FILE * event_log_start (THREAD_ENTRY *thread_p, const char *event_name)
 
void event_log_end (THREAD_ENTRY *thread_p)
 
void event_log_print_client_info (int tran_index, int indent)
 
void event_log_sql_string (THREAD_ENTRY *thread_p, FILE *log_fp, XASL_ID *xasl_id, int indent)
 
void event_log_bind_values (THREAD_ENTRY *thread_p, FILE *log_fp, int tran_index, int bind_index)
 
void event_log_log_flush_thr_wait (THREAD_ENTRY *thread_p, int flush_count, clientids *client_info, int flush_time, int flush_wait_time, int writer_time)
 

Macro Definition Documentation

#define EVENT_EMPTY_QUERY   "***EMPTY***"

Definition at line 37 of file event_log.h.

Referenced by event_log_sql_string().

Function Documentation

void event_log_bind_values ( THREAD_ENTRY thread_p,
FILE *  log_fp,
int  tran_index,
int  bind_index 
)
void event_log_end ( THREAD_ENTRY thread_p)
void event_log_final ( void  )

Definition at line 208 of file event_log.c.

References event_Fp, and NULL.

Referenced by boot_server_all_finalize().

Here is the caller graph for this function:

void event_log_init ( const char *  db_name)
void event_log_log_flush_thr_wait ( THREAD_ENTRY thread_p,
int  flush_count,
clientids client_info,
int  flush_time,
int  flush_wait_time,
int  writer_time 
)

Definition at line 446 of file event_log.c.

References event_log_end(), event_log_print_client_ids_info(), event_log_start(), log_fp, and NULL.

Referenced by logpb_flush_all_append_pages().

Here is the caller graph for this function:

void event_log_print_client_info ( int  tran_index,
int  indent 
)
void event_log_sql_string ( THREAD_ENTRY thread_p,
FILE *  log_fp,
XASL_ID xasl_id,
int  indent 
)