Skip to content

File cas_sql_log2.c

FileList > broker > cas_sql_log2.c

Go to the source code of this file

  • #include <stdio.h>
  • #include <time.h>
  • #include <stdarg.h>
  • #include <string.h>
  • #include <unistd.h>
  • #include <sys/time.h>
  • #include "cas_sql_log2.h"
  • #include "broker_filename.h"

Public Static Attributes

Type Name
int log_count = 0
int saved_fd1
char sql_log2_file = ""
FILE * sql_log2_fp = [**NULL**](freelistheap_8h.md#define-null)

Public Functions

Type Name
void sql_log2_append_file (char * file_name)
void sql_log2_dup_stdout ()
void sql_log2_end (bool reset_filename_flag)
void sql_log2_flush ()
char * sql_log2_get_filename ()
void sql_log2_init (char * br_name, int index, int sql_log_value, bool log_reuse_flag)
void sql_log2_restore_stdout ()
void sql_log2_write (const char * fmt, ...)

Public Static Attributes Documentation

variable log_count

int log_count;

variable saved_fd1

int saved_fd1;

variable sql_log2_file

char sql_log2_file[256];

variable sql_log2_fp

FILE* sql_log2_fp;

Public Functions Documentation

function sql_log2_append_file

void sql_log2_append_file (
    char * file_name
) 

function sql_log2_dup_stdout

void sql_log2_dup_stdout () 

function sql_log2_end

void sql_log2_end (
    bool reset_filename_flag
) 

function sql_log2_flush

void sql_log2_flush () 

function sql_log2_get_filename

char * sql_log2_get_filename () 

function sql_log2_init

void sql_log2_init (
    char * br_name,
    int index,
    int sql_log_value,
    bool log_reuse_flag
) 

function sql_log2_restore_stdout

void sql_log2_restore_stdout () 

function sql_log2_write

void sql_log2_write (
    const  char * fmt,
    ...
) 


The documentation for this class was generated from the following file cubrid/src/broker/cas_sql_log2.c