File cas_error_log.c¶
FileList > broker > cas_error_log.c
Go to the source code of this file
#include <stdio.h>#include <stdarg.h>#include <stdlib.h>#include <time.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <sys/time.h>#include <assert.h>#include "cas_common.h"#include "cas_error_log.h"#include "cas_util.h"#include "broker_config.h"#include "cas.h"#include "cas_execute.h"#include "broker_env_def.h"#include "broker_filename.h"#include "broker_util.h"
Public Static Attributes¶
| Type | Name |
|---|---|
| int | eid = 0 |
| char | error_log_filepath |
| FILE * | error_log_fp = [**NULL**](freelistheap_8h.md#define-null) |
| long | saved_error_log_fpos = 0 |
Public Functions¶
| Type | Name |
|---|---|
| void | cas_error_log_close (bool flag) |
| char * | cas_error_log_get_eid (char * buf, size_t bufsz) |
| void | cas_error_log_open (char * br_name) |
| void | cas_error_log_write (int dbms_errno, const char * dbms_errmsg) |
Public Static Functions¶
| Type | Name |
|---|---|
| void | cas_error_log_backup (void) |
| void | cas_log_write_internal (const char * fmt, ...) |
| char * | make_error_log_filename (char * filename_buf, size_t buf_size, const char * br_name) |
Public Static Attributes Documentation¶
variable eid¶
variable error_log_filepath¶
variable error_log_fp¶
variable saved_error_log_fpos¶
Public Functions Documentation¶
function cas_error_log_close¶
function cas_error_log_get_eid¶
function cas_error_log_open¶
function cas_error_log_write¶
Public Static Functions Documentation¶
function cas_error_log_backup¶
function cas_log_write_internal¶
function make_error_log_filename¶
static char * make_error_log_filename (
char * filename_buf,
size_t buf_size,
const char * br_name
)
The documentation for this class was generated from the following file cubrid/src/broker/cas_error_log.c