Skip to content

File cas_sql_log2.h

FileList > broker > cas_sql_log2.h

Go to the source code of this file

  • #include "cas_optimization.h"

Public Functions

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

Macros

Type Name
define SQL_LOG2_COMPILE_BEGIN (SQL_LOG2_VALUE, SQL_STMT) /* multi line expression */
define SQL_LOG2_EXEC_APPEND (SQL_LOG2_VALUE, STMT_ID, RES, PLAN_FILE) /* multi line expression */
define SQL_LOG2_EXEC_BEGIN (SQL_LOG2_VALUE, STMT_ID) /* multi line expression */
define SQL_LOG2_EXEC_END (SQL_LOG2_VALUE, STMT_ID, RES) /* multi line expression */
define SQL_LOG2_HISTO 2 /\* [**obsolete**](broker__monitor_8c.md#function-timeout) \*/
define SQL_LOG2_MAX ([**SQL\_LOG2\_PLAN**](cas__sql__log2_8h.md#define-sql_log2_plan) \| [**SQL\_LOG2\_HISTO**](cas__sql__log2_8h.md#define-sql_log2_histo))
define SQL_LOG2_NONE 0
define SQL_LOG2_PLAN 1

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 (
    void
) 

function sql_log2_end

void sql_log2_end (
    bool reset_filename_flag
) 

function sql_log2_flush

void sql_log2_flush (
    void
) 

function sql_log2_get_filename

char * sql_log2_get_filename (
    void
) 

function sql_log2_init

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

function sql_log2_restore_stdout

void sql_log2_restore_stdout (
    void
) 

function sql_log2_write

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

Macro Definition Documentation

define SQL_LOG2_COMPILE_BEGIN

#define SQL_LOG2_COMPILE_BEGIN (
    SQL_LOG2_VALUE,
    SQL_STMT
) `/* multi line expression */`

define SQL_LOG2_EXEC_APPEND

#define SQL_LOG2_EXEC_APPEND (
    SQL_LOG2_VALUE,
    STMT_ID,
    RES,
    PLAN_FILE
) `/* multi line expression */`

define SQL_LOG2_EXEC_BEGIN

#define SQL_LOG2_EXEC_BEGIN (
    SQL_LOG2_VALUE,
    STMT_ID
) `/* multi line expression */`

define SQL_LOG2_EXEC_END

#define SQL_LOG2_EXEC_END (
    SQL_LOG2_VALUE,
    STMT_ID,
    RES
) `/* multi line expression */`

define SQL_LOG2_HISTO

#define SQL_LOG2_HISTO `2   /* obsolete */`

define SQL_LOG2_MAX

#define SQL_LOG2_MAX `( SQL_LOG2_PLAN | SQL_LOG2_HISTO )`

define SQL_LOG2_NONE

#define SQL_LOG2_NONE `0`

define SQL_LOG2_PLAN

#define SQL_LOG2_PLAN `1`


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