File cas_util.c¶
FileList > broker > cas_util.c
Go to the source code of this file
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <sys/time.h>#include <assert.h>#include "cas_util.h"#include "cas_common_execute.h"#include "perf_monitor.h"#include "dbi.h"#include <strings.h>#include <stdbool.h>#include <stddef.h>
Public Static Attributes¶
| Type | Name |
|---|---|
| const char * | schema_type_str = /* multi line expression */ |
| const char * | tran_type_str = { "COMMIT", "ROLLBACK" } |
Public Functions¶
| Type | Name |
|---|---|
| const char * | get_schema_type_str (int schema_type) |
| const char * | get_tran_type_str (int tran_type) |
| int | ut_check_timeout (struct timeval * start_time, struct timeval * end_time, int timeout_msec, int * res_sec, int * res_msec) |
| void | ut_timeval_diff (struct timeval * start, struct timeval * end, int * res_sec, int * res_msec) |
| void | ut_tolower (char * str) |
| char * | ut_uchar2ipstr (unsigned char * ip_addr) |
Public Static Attributes Documentation¶
variable schema_type_str¶
variable tran_type_str¶
Public Functions Documentation¶
function get_schema_type_str¶
function get_tran_type_str¶
function ut_check_timeout¶
int ut_check_timeout (
struct timeval * start_time,
struct timeval * end_time,
int timeout_msec,
int * res_sec,
int * res_msec
)
function ut_timeval_diff¶
void ut_timeval_diff (
struct timeval * start,
struct timeval * end,
int * res_sec,
int * res_msec
)
function ut_tolower¶
function ut_uchar2ipstr¶
The documentation for this class was generated from the following file cubrid/src/broker/cas_util.c