CUBRID Engine  latest
cas_handle.h File Reference
#include "cas_db_inc.h"
Include dependency graph for cas_handle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  t_prepare_call_info
 
struct  t_col_update_info
 
struct  t_query_result
 
struct  t_srv_handle
 

Macros

#define SRV_HANDLE_QUERY_SEQ_NUM(SRV_HANDLE)   ((SRV_HANDLE) ? (SRV_HANDLE)->query_seq_num : 0)
 

Typedefs

typedef struct t_prepare_call_info T_PREPARE_CALL_INFO
 
typedef struct t_col_update_info T_COL_UPDATE_INFO
 
typedef struct t_query_result T_QUERY_RESULT
 
typedef struct t_srv_handle T_SRV_HANDLE
 

Functions

int hm_new_srv_handle (T_SRV_HANDLE **new_handle, unsigned int seq_num)
 
void hm_srv_handle_free (int h_id)
 
void hm_srv_handle_free_all (bool free_holdable)
 
void hm_srv_handle_qresult_end_all (bool end_holdable)
 
T_SRV_HANDLEhm_find_srv_handle (int h_id)
 
void hm_qresult_clear (T_QUERY_RESULT *q_result)
 
void hm_qresult_end (T_SRV_HANDLE *srv_handle, char free_flag)
 
void hm_session_free (T_SRV_HANDLE *srv_handle)
 
void hm_col_update_info_clear (T_COL_UPDATE_INFO *col_update_info)
 
int hm_srv_handle_get_current_count (void)
 
void hm_srv_handle_unset_prepare_flag_all (void)
 

Macro Definition Documentation

#define SRV_HANDLE_QUERY_SEQ_NUM (   SRV_HANDLE)    ((SRV_HANDLE) ? (SRV_HANDLE)->query_seq_num : 0)

Typedef Documentation

Definition at line 61 of file cas_handle.h.

Definition at line 46 of file cas_handle.h.

Definition at line 123 of file cas_handle.h.

typedef struct t_srv_handle T_SRV_HANDLE

Definition at line 149 of file cas_handle.h.

Function Documentation

void hm_col_update_info_clear ( T_COL_UPDATE_INFO col_update_info)

Definition at line 402 of file cas_handle.c.

Referenced by prepare_column_list_info_set().

Here is the caller graph for this function:

void hm_qresult_clear ( T_QUERY_RESULT q_result)

Definition at line 308 of file cas_handle.c.

Referenced by create_srv_handle_with_query_result(), sch_query_execute(), ux_execute_all(), and ux_prepare().

Here is the caller graph for this function:

void hm_session_free ( T_SRV_HANDLE srv_handle)

Definition at line 386 of file cas_handle.c.

References db_close_session(), NULL, and t_srv_handle::session.

Referenced by srv_handle_content_free(), ux_execute(), ux_execute_all(), and ux_execute_array().

Here is the caller graph for this function:

void hm_srv_handle_free_all ( bool  free_holdable)
int hm_srv_handle_get_current_count ( void  )

Definition at line 494 of file cas_handle.c.

References current_handle_count.

Referenced by shard_cas_main().

Here is the caller graph for this function:

void hm_srv_handle_qresult_end_all ( bool  end_holdable)
void hm_srv_handle_unset_prepare_flag_all ( void  )