25 #if !defined (SERVER_MODE) && !defined (SA_MODE) 26 #error Belongs to server module 56 char *info,
int info_len);
75 #if defined (SERVER_MODE) void session_states_finalize(THREAD_ENTRY *thread_p)
int session_get_exec_stats_and_clear(THREAD_ENTRY *thread_p, const DB_VALUE *name, DB_VALUE *result)
SESSION_PARAM * session_get_session_parameter(THREAD_ENTRY *thread_p, PARAM_ID id)
int session_get_trace_stats(THREAD_ENTRY *thread_p, DB_VALUE *result)
int session_get_session_parameters(THREAD_ENTRY *thread_p, SESSION_PARAM **session_parameters)
TZ_REGION * session_get_session_tz_region(THREAD_ENTRY *thread_p)
int session_set_trace_stats(THREAD_ENTRY *thread_p, char *scan_stats, int format)
int session_get_private_lru_idx(const void *session_p)
int session_clear_trace_stats(THREAD_ENTRY *thread_p)
int session_get_load_session(THREAD_ENTRY *thread_p, REFPTR(load_session, load_session_ref_ptr))
int session_set_session_variables(THREAD_ENTRY *thread_p, DB_VALUE *values, const int count)
int session_begin_insert_values(THREAD_ENTRY *thread_p)
int session_check_session(THREAD_ENTRY *thread_p, const SESSION_ID id)
void session_stop_attached_threads(void *session)
int session_set_load_session(THREAD_ENTRY *thread_p, load_session *load_session_p)
int session_set_session_parameters(THREAD_ENTRY *thread_p, SESSION_PARAM *session_parameters)
int session_reset_cur_insert_id(THREAD_ENTRY *thread_p)
int session_get_last_insert_id(THREAD_ENTRY *thread_p, DB_VALUE *value, bool update_last_insert_id)
void session_states_init(THREAD_ENTRY *thread_p)
int session_get_prepared_statement(THREAD_ENTRY *thread_p, const char *name, char **info, int *info_len, xasl_cache_ent **xasl_entry)
int session_state_destroy(THREAD_ENTRY *thread_p, const SESSION_ID id)
bool session_is_queryid_idle(THREAD_ENTRY *thread_p, const QUERY_ID query_id, QUERY_ID *max_query_id_uses)
int session_remove_query_entry_info(THREAD_ENTRY *thread_p, const QUERY_ID query_id)
int session_define_variable(THREAD_ENTRY *thread_p, DB_VALUE *name, DB_VALUE *value, DB_VALUE *result)
int session_set_row_count(THREAD_ENTRY *thread_p, const int row_count)
int session_get_number_of_holdable_cursors(void)
int session_get_variable(THREAD_ENTRY *thread_p, const DB_VALUE *name, DB_VALUE *result)
int count(int &result, const cub_regex_object ®, const std::string &src, const int position, const INTL_CODESET codeset)
int session_set_tran_auto_commit(THREAD_ENTRY *thread_p, bool auto_commit)
int session_get_session_id(THREAD_ENTRY *thread_p, SESSION_ID *id)
int session_get_variable_no_copy(THREAD_ENTRY *thread_p, const DB_VALUE *name, DB_VALUE **result)
int session_set_trigger_state(THREAD_ENTRY *thread_p, bool is_trigger)
int login_user(THREAD_ENTRY *thread_p, const char *username)
int session_create_prepared_statement(THREAD_ENTRY *thread_p, char *name, char *alias_print, SHA1Hash *sha1, char *info, int info_len)
int session_clear_query_entry_info(THREAD_ENTRY *thread_p, const QUERY_ID query_id)
int session_load_query_entry_info(THREAD_ENTRY *thread_p, QMGR_QUERY_ENTRY *qentry_p)
void session_store_query_entry_info(THREAD_ENTRY *thread_p, QMGR_QUERY_ENTRY *qentry_p)
int session_delete_prepared_statement(THREAD_ENTRY *thread_p, const char *name)
int session_get_row_count(THREAD_ENTRY *thread_p, int *row_count)
int session_set_cur_insert_id(THREAD_ENTRY *thread_p, const DB_VALUE *value, bool force)
int session_state_create(THREAD_ENTRY *thread_p, SESSION_ID *id)
void session_states_dump(THREAD_ENTRY *thread_p)
int session_drop_session_variables(THREAD_ENTRY *thread_p, DB_VALUE *values, const int count)