File cas_handle.c
FileList > broker > cas_handle.c
Go to the source code of this file
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include "cas_log.h"
#include "dbtype.h"
#include "cas_common_execute.h"
Public Static Attributes
Public Functions
Public Static Functions
Macros
Public Static Attributes Documentation
variable cgw_free_stmt_func
cgw_free_stmt_func_t cgw_free_stmt_func;
variable current_handle_count
int current_handle_count;
variable current_handle_id
variable is_cgw_mode
variable max_handle_id
variable max_srv_handle
variable srv_handle_table
T_SRV_HANDLE** srv_handle_table;
Public Functions Documentation
function hm_col_update_info_clear
void hm_col_update_info_clear (
T_COL_UPDATE_INFO * col_update_info
)
function hm_find_srv_handle
T_SRV_HANDLE * hm_find_srv_handle (
int h_id
)
function hm_free_result
void hm_free_result (
void * res
)
function hm_new_srv_handle
int hm_new_srv_handle (
T_SRV_HANDLE ** new_handle,
unsigned int seq_num
)
function hm_prepare_call_info_free
void hm_prepare_call_info_free (
T_PREPARE_CALL_INFO * call_info
)
function hm_qresult_clear
void hm_qresult_clear (
T_QUERY_RESULT * q_result
)
function hm_qresult_end
void hm_qresult_end (
T_SRV_HANDLE * srv_handle,
char free_flag
)
function hm_session_free
void hm_session_free (
T_SRV_HANDLE * srv_handle
)
function hm_set_cgw_free_stmt_func
void hm_set_cgw_free_stmt_func (
cgw_free_stmt_func_t func
)
function hm_set_cgw_mode
void hm_set_cgw_mode (
bool enabled
)
function hm_set_current_srv_handle
void hm_set_current_srv_handle (
int h_id
)
function hm_srv_handle_free
void hm_srv_handle_free (
int h_id
)
function hm_srv_handle_free_all
void hm_srv_handle_free_all (
bool free_holdable
)
function hm_srv_handle_get_current_count
int hm_srv_handle_get_current_count (
void
)
function hm_srv_handle_qresult_end_all
void hm_srv_handle_qresult_end_all (
bool end_holdable
)
function hm_srv_handle_set_pooled
void hm_srv_handle_set_pooled ()
function hm_srv_handle_unset_prepare_flag_all
void hm_srv_handle_unset_prepare_flag_all (
void
)
function release_all_fk_info_results
void release_all_fk_info_results (
T_FK_INFO_RESULT * fk_res
)
function tran_is_in_libcas
bool tran_is_in_libcas (
void
)
Public Static Functions Documentation
function col_update_info_free
static void col_update_info_free (
T_QUERY_RESULT * q_result
)
function prepare_call_info_dbval_clear
static void prepare_call_info_dbval_clear (
T_PREPARE_CALL_INFO * call_info
)
function srv_handle_content_free
static void srv_handle_content_free (
T_SRV_HANDLE * srv_handle
)
function srv_handle_rm_tmp_file
static void srv_handle_rm_tmp_file (
int h_id,
T_SRV_HANDLE * srv_handle
)
Macro Definition Documentation
define SRV_HANDLE_ALLOC_SIZE
#define SRV_HANDLE_ALLOC_SIZE `256`
The documentation for this class was generated from the following file cubrid/src/broker/cas_handle.c