File cas_common_execute.c
FileList > broker > cas_common_execute.c
Go to the source code of this file
#include "cas_common_execute.h"
#include "cas_net_buf.h"
#include "cas_util.h"
#include "perf_monitor.h"
#include "release_string.h"
#include "dbi.h"
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include <stdio.h>
Public Static Attributes
Public Functions
| Type |
Name |
| void |
cas_log_error_handler (unsigned int eid)
|
| char * |
cas_log_error_handler_asprint (char * buf, size_t bufsz, bool clear)
|
| void |
cas_log_error_handler_begin (void)
|
| void |
cas_log_error_handler_clear (void)
|
| void |
cas_log_error_handler_end (void)
|
| bool |
check_auto_commit_after_getting_result (T_SRV_HANDLE * srv_handle)
|
| char * |
consume_tokens (char * stmt, STATEMENT_STATUS stmt_status)
|
| char * |
get_error_log_eids (int err)
|
| int |
get_num_markers (char * stmt)
|
| char |
get_stmt_type (char * stmt)
|
| bool |
has_stmt_result_set (char stmt_type)
|
| void |
prepare_column_info_set (T_NET_BUF * net_buf, char ut, short scale, int prec, char charset, const char * col_name, const char * default_value, char auto_increment, char unique_key, char primary_key, char reverse_index, char reverse_unique, char foreign_key, char shared, const char * attr_name, const char * class_name, char is_non_null, T_BROKER_VERSION client_version)
|
| void |
update_error_query_count (T_APPL_SERVER_INFO * as_info_p, const T_ERROR_INFO * err_info_p)
|
| void |
update_query_execution_count (T_APPL_SERVER_INFO * as_info_p, char stmt_type)
|
| char |
ux_db_type_to_cas_type (int db_type)
|
| void |
ux_end_tran_cleanup (int tran_type)
|
| int |
ux_get_db_version (T_NET_BUF * net_buf, T_REQ_INFO * req_info)
|
| void |
ux_set_utype_for_datetimeltz (char u_type)
|
| void |
ux_set_utype_for_datetimetz (char u_type)
|
| void |
ux_set_utype_for_enum (char u_type)
|
| void |
ux_set_utype_for_json (char u_type)
|
| void |
ux_set_utype_for_timestampltz (char u_type)
|
| void |
ux_set_utype_for_timestamptz (char u_type)
|
Public Static Attributes Documentation
variable cas_EHCTX
CAS_ERROR_LOG_HANDLE_CONTEXT* cas_EHCTX;
variable cas_u_type
Public Functions Documentation
function cas_log_error_handler
void cas_log_error_handler (
unsigned int eid
)
function cas_log_error_handler_asprint
char * cas_log_error_handler_asprint (
char * buf,
size_t bufsz,
bool clear
)
function cas_log_error_handler_begin
void cas_log_error_handler_begin (
void
)
function cas_log_error_handler_clear
void cas_log_error_handler_clear (
void
)
function cas_log_error_handler_end
void cas_log_error_handler_end (
void
)
function check_auto_commit_after_getting_result
bool check_auto_commit_after_getting_result (
T_SRV_HANDLE * srv_handle
)
function consume_tokens
char * consume_tokens (
char * stmt,
STATEMENT_STATUS stmt_status
)
function get_error_log_eids
char * get_error_log_eids (
int err
)
function get_num_markers
int get_num_markers (
char * stmt
)
function get_stmt_type
char get_stmt_type (
char * stmt
)
function has_stmt_result_set
bool has_stmt_result_set (
char stmt_type
)
function prepare_column_info_set
void prepare_column_info_set (
T_NET_BUF * net_buf,
char ut,
short scale,
int prec,
char charset,
const char * col_name,
const char * default_value,
char auto_increment,
char unique_key,
char primary_key,
char reverse_index,
char reverse_unique,
char foreign_key,
char shared,
const char * attr_name,
const char * class_name,
char is_non_null,
T_BROKER_VERSION client_version
)
function update_error_query_count
void update_error_query_count (
T_APPL_SERVER_INFO * as_info_p,
const T_ERROR_INFO * err_info_p
)
function update_query_execution_count
void update_query_execution_count (
T_APPL_SERVER_INFO * as_info_p,
char stmt_type
)
function ux_db_type_to_cas_type
char ux_db_type_to_cas_type (
int db_type
)
function ux_end_tran_cleanup
void ux_end_tran_cleanup (
int tran_type
)
function ux_get_db_version
int ux_get_db_version (
T_NET_BUF * net_buf,
T_REQ_INFO * req_info
)
function ux_set_utype_for_datetimeltz
void ux_set_utype_for_datetimeltz (
char u_type
)
function ux_set_utype_for_datetimetz
void ux_set_utype_for_datetimetz (
char u_type
)
function ux_set_utype_for_enum
void ux_set_utype_for_enum (
char u_type
)
function ux_set_utype_for_json
void ux_set_utype_for_json (
char u_type
)
function ux_set_utype_for_timestampltz
void ux_set_utype_for_timestampltz (
char u_type
)
function ux_set_utype_for_timestamptz
void ux_set_utype_for_timestamptz (
char u_type
)
The documentation for this class was generated from the following file cubrid/src/broker/cas_common_execute.c