CUBRID Engine  latest
boot_cl.c File Reference
#include "config.h"
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include <assert.h>
#include "porting.h"
#include "util_func.h"
#include "boot_cl.h"
#include "memory_alloc.h"
#include "area_alloc.h"
#include "storage_common.h"
#include "oid.h"
#include "error_manager.h"
#include "work_space.h"
#include "schema_manager.h"
#include "authenticate.h"
#include "trigger_manager.h"
#include "db.h"
#include "dynamic_load.h"
#include "transaction_cl.h"
#include "log_comm.h"
#include "server_interface.h"
#include "release_string.h"
#include "system_parameter.h"
#include "locator_cl.h"
#include "databases_file.h"
#include "db_query.h"
#include "language_support.h"
#include "message_catalog.h"
#include "parser.h"
#include "perf_monitor.h"
#include "set_object.h"
#include "cnv.h"
#include "environment_variable.h"
#include "locator.h"
#include "transform.h"
#include "jansson.h"
#include "jsp_cl.h"
#include "client_support.h"
#include "es.h"
#include "tsc_timer.h"
#include "show_meta.h"
#include "tz_support.h"
#include "dbtype.h"
#include "object_primitive.h"
#include "connection_globals.h"
#include "network_interface_cl.h"
#include "tcp.h"

Go to the source code of this file.

Classes

struct  column
 

Macros

#define BOOT_FORMAT_MAX_LENGTH   500
 
#define BOOT_NO_OPT_CAP   0
 
#define BOOT_CHECK_HA_DELAY_CAP   NET_CAP_HA_REPL_DELAY
 
#define CT_DBCHARSET_CHARSET_ID   "charset_id"
 
#define CT_DBCHARSET_CHARSET_NAME   "charset_name"
 
#define CT_DBCHARSET_DEFAULT_COLLATION   "default_collation"
 
#define CT_DBCHARSET_CHAR_SIZE   "char_size"
 
#define CT_DUAL_DUMMY   "dummy"
 

Typedefs

typedef int(* DEF_FUNCTION) ()
 
typedef int(* DEF_CLASS_FUNCTION) (MOP)
 
typedef struct column COLUMN
 

Functions

static int boot_client (int tran_index, int lock_wait, TRAN_ISOLATION tran_isolation)
 
static void boot_shutdown_client_at_exit (void)
 
static int boot_define_class (MOP class_mop)
 
static int boot_define_attribute (MOP class_mop)
 
static int boot_define_domain (MOP class_mop)
 
static int boot_define_method (MOP class_mop)
 
static int boot_define_meth_sig (MOP class_mop)
 
static int boot_define_meth_argument (MOP class_mop)
 
static int boot_define_meth_file (MOP class_mop)
 
static int boot_define_query_spec (MOP class_mop)
 
static int boot_define_index (MOP class_mop)
 
static int boot_define_index_key (MOP class_mop)
 
static int boot_define_class_authorization (MOP class_mop)
 
static int boot_define_partition (MOP class_mop)
 
static int boot_add_data_type (MOP class_mop)
 
static int boot_define_data_type (MOP class_mop)
 
static int boot_define_stored_procedure (MOP class_mop)
 
static int boot_define_stored_procedure_arguments (MOP class_mop)
 
static int boot_define_serial (MOP class_mop)
 
static int boot_define_ha_apply_info (MOP class_mop)
 
static int boot_define_collations (MOP class_mop)
 
static int boot_add_charsets (MOP class_mop)
 
static int boot_define_charsets (MOP class_mop)
 
static int boot_define_dual (MOP class_mop)
 
static int boot_define_view_class (void)
 
static int boot_define_view_super_class (void)
 
static int boot_define_view_vclass (void)
 
static int boot_define_view_attribute (void)
 
static int boot_define_view_attribute_set_domain (void)
 
static int boot_define_view_method (void)
 
static int boot_define_view_method_argument (void)
 
static int boot_define_view_method_argument_set_domain (void)
 
static int boot_define_view_method_file (void)
 
static int boot_define_view_index (void)
 
static int boot_define_view_index_key (void)
 
static int boot_define_view_authorization (void)
 
static int boot_define_view_trigger (void)
 
static int boot_define_view_partition (void)
 
static int boot_define_view_stored_procedure (void)
 
static int boot_define_view_stored_procedure_arguments (void)
 
static int boot_define_view_db_collation (void)
 
static int catcls_class_install (void)
 
static int catcls_vclass_install (void)
 
static int boot_client_find_and_cache_class_oids (void)
 
int boot_initialize_client (BOOT_CLIENT_CREDENTIAL *client_credential, BOOT_DB_PATH_INFO *db_path_info, bool db_overwrite, const char *file_addmore_vols, DKNPAGES npages, PGLENGTH db_desired_pagesize, DKNPAGES log_npages, PGLENGTH db_desired_log_page_size, const char *lang_charset)
 
int boot_restart_client (BOOT_CLIENT_CREDENTIAL *client_credential)
 
int boot_shutdown_client (bool is_er_final)
 
void boot_donot_shutdown_client_at_exit (void)
 
void boot_server_die_or_changed (void)
 
void boot_client_all_finalize (bool is_er_final)
 
int boot_add_collations (MOP class_mop)
 
static int boot_define_view_db_charset (void)
 
void boot_clear_host_connected (void)
 
char * boot_get_host_name (void)
 
char * boot_get_server_session_key (void)
 
void boot_set_server_session_key (const char *key)
 

Variables

static BOOT_SERVER_CREDENTIAL boot_Server_credential
 
static const char * boot_Client_no_user_string = "(nouser)"
 
static const char * boot_Client_id_unknown_string = "(unknown)"
 
static char boot_Client_id_buffer [L_cuserid+1]
 
static char boot_Db_path_buf [PATH_MAX]
 
static char boot_Log_path_buf [PATH_MAX]
 
static char boot_Lob_path_buf [PATH_MAX]
 
static char boot_Db_host_buf [CUB_MAXHOSTNAMELEN+1]
 
VOLID boot_User_volid = 0
 
char boot_Host_name [CUB_MAXHOSTNAMELEN] = ""
 
static char boot_Volume_label [PATH_MAX] = " "
 
static bool boot_Is_client_all_final = true
 
static bool boot_Set_client_at_exit = false
 
static int boot_Process_id = -1
 

Macro Definition Documentation

#define BOOT_CHECK_HA_DELAY_CAP   NET_CAP_HA_REPL_DELAY

Definition at line 116 of file boot_cl.c.

Referenced by boot_client_all_finalize(), and boot_restart_client().

#define BOOT_FORMAT_MAX_LENGTH   500

Definition at line 112 of file boot_cl.c.

Referenced by boot_initialize_client().

#define BOOT_NO_OPT_CAP   0

Definition at line 115 of file boot_cl.c.

Referenced by boot_initialize_client(), and boot_restart_client().

#define CT_DBCHARSET_CHAR_SIZE   "char_size"
#define CT_DBCHARSET_CHARSET_ID   "charset_id"
#define CT_DBCHARSET_CHARSET_NAME   "charset_name"
#define CT_DBCHARSET_DEFAULT_COLLATION   "default_collation"
#define CT_DUAL_DUMMY   "dummy"

Definition at line 3939 of file boot_cl.c.

Referenced by boot_define_dual().

Typedef Documentation

typedef struct column COLUMN

Definition at line 121 of file boot_cl.c.

typedef int(* DEF_CLASS_FUNCTION) (MOP)

Definition at line 119 of file boot_cl.c.

typedef int(* DEF_FUNCTION) ()

Definition at line 118 of file boot_cl.c.

Function Documentation

static int boot_add_data_type ( MOP  class_mop)
static

Definition at line 2943 of file boot_cl.c.

References assert, db_create_internal(), db_make_int(), db_make_varchar(), db_put_internal(), DB_TYPE_LAST, er_errid(), i, LANG_SYS_CODESET, LANG_SYS_COLLATION, NO_ERROR, NULL, and strlen.

Referenced by boot_define_data_type().

Here is the caller graph for this function:

void boot_clear_host_connected ( void  )

Definition at line 5717 of file boot_cl.c.

Referenced by db_clear_host_connected().

Here is the caller graph for this function:

static int boot_client ( int  tran_index,
int  lock_wait,
TRAN_ISOLATION  tran_isolation 
)
static
void boot_client_all_finalize ( bool  is_er_final)

Definition at line 1536 of file boot_cl.c.

References area_final(), ARG_FILE_LINE, assert, au_final(), BOOT_CHECK_HA_DELAY_CAP, boot_client(), boot_Is_client_all_final, BOOT_IS_CLIENT_RESTARTED, cfg_get_hosts(), cnv_cleanup(), co_final(), css_check_server_alive_fn, css_terminate(), CUB_MAXHOSTNAMELEN, db_clear_delayed_hosts_count(), DB_CONNECT_ORDER_RANDOM, boot_server_credential::db_full_name, db_get_delayed_hosts_count(), db_get_max_num_delayed_hosts_lookup(), DB_HS_CONN_FAILURE, DB_HS_CONN_TIMEOUT, DB_HS_UNUSABLE_DATABASES, boot_server_credential::db_lang, db_private_free_and_init, db_set_connected_host_status(), db_set_host_status(), dl_destroy_module(), ER_ALL_FINAL, ER_BO_CONNECT_FAILED, er_clear(), ER_CSS_CLIENTS_EXCEEDED, ER_ERROR_SEVERITY, er_final(), ER_GENERIC_ERROR, er_log_debug, ER_NET_CANT_CONNECT_SERVER, ER_NET_DIFFERENT_RELEASE, ER_NET_HS_UNKNOWN_SERVER_REL, ER_NET_NO_MASTER, ER_NET_NO_SERVER_HOST, ER_NET_SERVER_HAND_SHAKE, er_set(), ER_WARNING_SEVERITY, ERR_CSS_ERROR_FROM_SERVER, ERR_CSS_TCP_CANNOT_CONNECT_TO_MASTER, ERR_CSS_TCP_CONNECT_TIMEDOUT, error(), es_final(), boot_server_credential::host_name, database_info::hosts, lang_final(), boot_server_credential::lob_path, locator_free_areas(), MAX_NUM_DB_HOSTS, msgcat_final(), database_info::name, net_client_init(), net_client_ping_server_with_handshake(), NO_ERROR, NULL, NULL_TRAN_INDEX, database_info::num_hosts, parser_final(), perfmon_finalize(), boot_server_credential::server_session_key, SERVER_SESSION_KEY_SIZE, set_final(), showstmt_metadata_final(), sm_final(), sm_flush_static_methods(), strncpy_bufsize, sysprm_final(), tp_final(), tr_final(), TRAN_DEFAULT_ISOLATION_LEVEL, tran_free_savepoint_list(), TRAN_LOCK_INFINITE_WAIT, tz_unload(), util_shuffle_string_array(), and ws_final().

Referenced by boot_initialize_client(), boot_restart_client(), and boot_shutdown_client().

Here is the caller graph for this function:

static int boot_client_find_and_cache_class_oids ( void  )
static
static int boot_define_attribute ( MOP  class_mop)
static
static int boot_define_class_authorization ( MOP  class_mop)
static
static int boot_define_data_type ( MOP  class_mop)
static

Definition at line 2995 of file boot_cl.c.

References assert, AU_ALTER, au_change_owner(), Au_dba_user, boot_add_data_type(), er_errid(), locator_has_heap(), NO_ERROR, NULL, sm_update_class(), smt_add_attribute(), and smt_edit_class_mop().

Referenced by catcls_class_install().

Here is the caller graph for this function:

static int boot_define_domain ( MOP  class_mop)
static
static int boot_define_ha_apply_info ( MOP  class_mop)
static
static int boot_define_index ( MOP  class_mop)
static
static int boot_define_index_key ( MOP  class_mop)
static
static int boot_define_meth_argument ( MOP  class_mop)
static
static int boot_define_meth_file ( MOP  class_mop)
static
static int boot_define_meth_sig ( MOP  class_mop)
static
static int boot_define_method ( MOP  class_mop)
static
static int boot_define_partition ( MOP  class_mop)
static
static int boot_define_query_spec ( MOP  class_mop)
static
static int boot_define_stored_procedure ( MOP  class_mop)
static
static int boot_define_stored_procedure_arguments ( MOP  class_mop)
static
static int boot_define_view_attribute_set_domain ( void  )
static
static int boot_define_view_authorization ( void  )
static
static int boot_define_view_db_collation ( void  )
static
static int boot_define_view_index ( void  )
static
static int boot_define_view_index_key ( void  )
static
static int boot_define_view_method ( void  )
static
static int boot_define_view_method_argument ( void  )
static
static int boot_define_view_method_argument_set_domain ( void  )
static
static int boot_define_view_method_file ( void  )
static
static int boot_define_view_stored_procedure ( void  )
static
static int boot_define_view_stored_procedure_arguments ( void  )
static
static int boot_define_view_super_class ( void  )
static
static int boot_define_view_trigger ( void  )
static
static int boot_define_view_vclass ( void  )
static
void boot_donot_shutdown_client_at_exit ( void  )

Definition at line 1485 of file boot_cl.c.

References BOOT_IS_CLIENT_RESTARTED, and boot_Process_id.

Referenced by logpb_fatal_error_internal().

Here is the caller graph for this function:

char* boot_get_server_session_key ( void  )

Definition at line 5792 of file boot_cl.c.

References boot_server_credential::server_session_key.

Referenced by db_get_server_session_key().

Here is the caller graph for this function:

int boot_initialize_client ( BOOT_CLIENT_CREDENTIAL client_credential,
BOOT_DB_PATH_INFO db_path_info,
bool  db_overwrite,
const char *  file_addmore_vols,
DKNPAGES  npages,
PGLENGTH  db_desired_pagesize,
DKNPAGES  log_npages,
PGLENGTH  db_desired_log_page_size,
const char *  lang_charset 
)

Definition at line 290 of file boot_cl.c.

References area_final(), area_init(), ARG_FILE_LINE, assert, ASSERT_ERROR, au_final(), au_init(), au_install(), au_start(), au_user_name_dup(), boot_client(), boot_client_all_finalize(), boot_Client_id_buffer, boot_Client_id_unknown_string, boot_Client_no_user_string, boot_Db_host_buf, boot_Db_path_buf, BOOT_FORMAT_MAX_LENGTH, boot_get_host_name(), boot_initialize_server(), boot_Is_client_all_final, BOOT_IS_CLIENT_RESTARTED, boot_Lob_path_buf, boot_Log_path_buf, BOOT_NO_OPT_CAP, boot_shutdown_client(), boot_User_volid, boot_Volume_label, catcls_class_install(), catcls_vclass_install(), cfg_free_directory(), cfg_new_db(), clientids::client_type, COMPOSE_FULL_NAME(), CUB_MAXHOSTNAMELEN, DB_CONNECT_ORDER_SEQ, db_find_or_create_session(), boot_server_credential::db_full_name, boot_db_path_info::db_host, boot_client_credential::db_name, boot_db_path_info::db_path, db_private_free_and_init, db_set_page_size(), clientids::db_user, dl_destroy_module(), dl_initiate_module(), ER_BO_CANNOT_ACCESS_MESSAGE_CATALOG, ER_BO_CANT_LOAD_SYSPRM, ER_BO_CWD_FAIL, ER_BO_FULL_DATABASE_NAME_IS_TOO_LONG, ER_BO_UNABLE_TO_FIND_HOSTNAME, ER_BO_UNKNOWN_DATABASE, er_clear(), er_errid(), ER_ERROR_SEVERITY, ER_ES_INVALID_PATH, ER_GENERIC_ERROR, ER_LOC_INIT, er_log_debug, ER_OUT_OF_VIRTUAL_MEMORY, er_set(), er_set_with_oserror(), es_final(), es_get_type(), ES_NONE, ES_OWFS, free_and_init, boot_client_credential::get_db_name(), clientids::get_db_user(), clientids::get_program_name(), GETHOSTNAME, getuserid(), clientids::host_name, boot_server_credential::host_name, intl_identifier_upper(), intl_identifier_upper_string_size(), L_cuserid, lang_final(), lang_init(), lang_set_charset_lang(), boot_db_path_info::lob_path, LOB_PATH_DEFAULT_PREFIX, locator_free_areas(), locator_initialize_areas(), boot_db_path_info::log_path, clientids::login_name, MAX_NTRANS, MSGCAT_CATALOG_CUBRID, MSGCAT_GENERAL_DATABASE_INIT, msgcat_init(), msgcat_message(), MSGCAT_SET_GENERAL, NO_ERROR, NULL, NULL_TRAN_INDEX, OID_INIT_TEMPID, oid_set_root(), PATH_SEPARATOR, perfmon_finalize(), perfmon_initialize(), prm_get_integer_value(), PRM_ID_LK_TIMEOUT_SECS, PRM_ID_LOG_ISOLATION_LEVEL, rel_name(), boot_server_credential::server_session_key, SERVER_SESSION_KEY_SIZE, set_final(), showstmt_metadata_final(), sm_create_root(), sm_final(), sm_mark_system_classes(), strlen, strncpy_bufsize, sysprm_final(), sysprm_load_and_init_client(), tm_Tran_index, tp_final(), tp_init(), tr_final(), tr_init(), tr_install(), tran_commit(), tran_free_savepoint_list(), tsc_init(), tz_unload(), ws_final(), and ws_init().

Referenced by db_init().

Here is the caller graph for this function:

int boot_restart_client ( BOOT_CLIENT_CREDENTIAL client_credential)

Definition at line 738 of file boot_cl.c.

References area_final(), area_init(), ARG_FILE_LINE, assert, ASSERT_ERROR, assert_release, au_final(), au_has_user_name(), au_init(), AU_PUBLIC_USER_NAME, au_start(), au_user_name(), BOOT_ADMIN_CLIENT_TYPE, BOOT_BROKER_AND_DEFAULT_CLIENT_TYPE, BOOT_CHECK_HA_DELAY_CAP, boot_client(), boot_client_all_finalize(), boot_client_find_and_cache_class_oids(), boot_Client_id_buffer, boot_Client_id_unknown_string, BOOT_CSQL_CLIENT_TYPE, boot_get_host_name(), boot_Is_client_all_final, BOOT_IS_CLIENT_RESTARTED, BOOT_IS_PREFERRED_HOSTS_SET, BOOT_LOG_REPLICATOR_TYPE, BOOT_NO_OPT_CAP, BOOT_NORMAL_CLIENT_TYPE, BOOT_READ_ONLY_CLIENT_TYPE, boot_register_client(), BOOT_REPLICA_ONLY_BROKER_CLIENT_TYPE, boot_shutdown_client(), cfg_find_db(), cfg_free_directory(), cfg_free_hosts(), cfg_get_hosts(), cfg_new_db(), clientids::client_type, boot_client_credential::connect_order, css_windows_startup(), boot_server_credential::db_charset, db_clear_host_status(), DB_CLIENT_TYPE_SLAVE_ONLY_BROKER, DB_CONNECT_ORDER_SEQ, db_disable_modification(), db_find_or_create_session(), boot_server_credential::db_full_name, DB_HS_NON_PREFFERED_HOSTS, boot_server_credential::db_lang, boot_client_credential::db_password, db_private_free_and_init, db_set_host_status(), db_set_page_size(), clientids::db_user, boot_server_credential::disk_compatibility, dl_destroy_module(), dl_initiate_module(), ER_BO_CANNOT_ACCESS_MESSAGE_CATALOG, ER_BO_CANT_LOAD_SYSPRM, ER_BO_CONNECTED_TO, ER_BO_UNKNOWN_DATABASE, er_clear(), er_errid(), ER_ERROR_SEVERITY, ER_ES_NO_LOB_PATH, ER_GENERIC_ERROR, er_init(), ER_LOC_INIT, er_log_debug, ER_NET_NO_EXPLICIT_SERVER_HOST, ER_NET_SERVER_HAND_SHAKE, ER_NOT_IN_STANDALONE, ER_NOTIFICATION_SEVERITY, er_set(), ER_TZ_LOAD_ERROR, ER_WARNING_SEVERITY, error(), es_final(), es_init(), boot_client_credential::get_db_name(), boot_client_credential::get_db_password(), clientids::get_db_user(), clientids::get_host_name(), clientids::get_login_name(), clientids::get_program_name(), getuserid(), clientids::host_name, boot_server_credential::host_name, i, jsp_init(), L_cuserid, lang_final(), lang_init(), lang_set_charset(), lang_set_language(), boot_server_credential::lob_path, locator_free_areas(), locator_initialize_areas(), boot_server_credential::log_page_size, clientids::login_name, msgcat_init(), database_info::name, column::name, NO_ERROR, NULL, NULL_TRAN_INDEX, database_info::num_hosts, OID_INIT_TEMPID, oid_set_root(), boot_server_credential::page_size, perfmon_initialize(), pr_Enable_string_compression, boot_client_credential::preferred_hosts, prm_get_bool_value(), prm_get_integer_value(), prm_get_string_value(), PRM_ID_ENABLE_STRING_COMPRESSION, PRM_ID_ER_EXIT_ASK, PRM_ID_ER_LOG_FILE, PRM_ID_LK_TIMEOUT_SECS, PRM_ID_LOG_ISOLATION_LEVEL, PRM_ID_READ_ONLY_MODE, PRM_ID_TCP_PORT_ID, clientids::process_id, rel_disk_compatible(), rel_set_disk_compatible(), boot_server_credential::root_class_hfid, boot_server_credential::root_class_oid, boot_server_credential::server_session_key, SERVER_SESSION_KEY_SIZE, set_final(), showstmt_metadata_final(), showstmt_metadata_init(), sm_final(), sm_init(), sysprm_final(), sysprm_init_intl_param(), sysprm_load_and_init_client(), sysprm_tune_client_parameters(), TM_TRAN_ASYNC_WS, tm_Tran_index, tp_final(), tp_init(), tr_final(), tr_init(), tran_commit(), TRAN_DEFAULT_ISOLATION_LEVEL, tran_free_savepoint_list(), TRAN_LOCK_INFINITE_WAIT, tran_reset_isolation(), tran_reset_wait_times(), tsc_init(), tz_load(), tz_unload(), util_free_string_array(), util_split_string(), ws_final(), ws_free_string(), and ws_init().

Referenced by conn_restart_client(), and db_restart().

Here is the caller graph for this function:

void boot_server_die_or_changed ( void  )
static void boot_shutdown_client_at_exit ( void  )
static

Definition at line 1458 of file boot_cl.c.

References BOOT_IS_CLIENT_RESTARTED, boot_Process_id, boot_shutdown_client(), er_init(), er_is_initialized(), ER_NEVER_EXIT, and NULL.

Referenced by boot_client().

Here is the caller graph for this function:

static int catcls_vclass_install ( void  )
static

Definition at line 5453 of file boot_cl.c.

References au_add_method_check_authorization(), AU_DISABLE, AU_ENABLE, au_force_write_new_auth(), Au_public_user, AU_SELECT, boot_define_view_attribute(), boot_define_view_attribute_set_domain(), boot_define_view_authorization(), boot_define_view_class(), boot_define_view_db_charset(), boot_define_view_db_collation(), boot_define_view_index(), boot_define_view_index_key(), boot_define_view_method(), boot_define_view_method_argument(), boot_define_view_method_argument_set_domain(), boot_define_view_method_file(), boot_define_view_partition(), boot_define_view_stored_procedure(), boot_define_view_stored_procedure_arguments(), boot_define_view_super_class(), boot_define_view_trigger(), boot_define_view_vclass(), boot_get_lob_path(), catcls_class_install(), catcls_compile_catalog_classes(), catcls_Enable, CT_ATTRIBUTE_NAME, CT_CLASS_NAME, CT_CLASSAUTH_NAME, CT_COLLATION_NAME, CT_DATATYPE_NAME, CT_DOMAIN_NAME, CT_INDEX_NAME, CT_INDEXKEY_NAME, CT_METHARG_NAME, CT_METHFILE_NAME, CT_METHOD_NAME, CT_METHSIG_NAME, CT_PARTITION_NAME, CT_QUERYSPEC_NAME, CT_STORED_PROC_ARGS_NAME, CT_STORED_PROC_NAME, CTV_ATTR_SD_NAME, CTV_ATTRIBUTE_NAME, CTV_AUTH_NAME, CTV_CLASS_NAME, CTV_INDEX_NAME, CTV_INDEXKEY_NAME, CTV_METHARG_NAME, CTV_METHARG_SD_NAME, CTV_METHFILE_NAME, CTV_METHOD_NAME, CTV_PARTITION_NAME, CTV_STORED_PROC_ARGS_NAME, CTV_STORED_PROC_NAME, CTV_SUPER_CLASS_NAME, CTV_TRIGGER_NAME, CTV_VCLASS_NAME, db_drop_class(), db_drop_class_method(), db_is_vclass(), db_revoke(), dbname, ER_OBJ_INVALID_ARGUMENTS, boot_server_credential::ha_server_state, i, boot_server_credential::lob_path, locator_find_class(), column::name, NO_ERROR, NULL, sm_force_write_all_classes(), tf_compile_meta_classes(), and tf_Metaclass_class.

Referenced by boot_initialize_client().

Here is the caller graph for this function:

Variable Documentation

char boot_Client_id_buffer[L_cuserid+1]
static

Definition at line 146 of file boot_cl.c.

Referenced by boot_initialize_client(), and boot_restart_client().

const char* boot_Client_id_unknown_string = "(unknown)"
static

Definition at line 144 of file boot_cl.c.

Referenced by boot_get_host_name(), boot_initialize_client(), and boot_restart_client().

const char* boot_Client_no_user_string = "(nouser)"
static

Definition at line 143 of file boot_cl.c.

Referenced by boot_initialize_client().

char boot_Db_host_buf[CUB_MAXHOSTNAMELEN+1]
static

Definition at line 150 of file boot_cl.c.

Referenced by boot_initialize_client().

char boot_Db_path_buf[PATH_MAX]
static

Definition at line 147 of file boot_cl.c.

Referenced by boot_initialize_client().

bool boot_Is_client_all_final = true
static
char boot_Lob_path_buf[PATH_MAX]
static

Definition at line 149 of file boot_cl.c.

Referenced by boot_initialize_client().

char boot_Log_path_buf[PATH_MAX]
static

Definition at line 148 of file boot_cl.c.

Referenced by boot_initialize_client().

int boot_Process_id = -1
static
BOOT_SERVER_CREDENTIAL boot_Server_credential
static
Initial value:
= {
-1,
{{NULL_FILEID, NULL_VOLID}, NULL_PAGEID},
-1, -1,
0.0,
{(char) 0xFF, (char) 0xFF, (char) 0xFF, (char) 0xFF, (char) 0xFF, (char) 0xFF, (char) 0xFF,
(char) 0xFF},
NULL
}
#define NULL_SLOTID
#define NULL_PAGEID
#define NULL
Definition: freelistheap.h:34
#define NULL_FILEID
#define NULL_VOLID

Definition at line 129 of file boot_cl.c.

bool boot_Set_client_at_exit = false
static

Definition at line 162 of file boot_cl.c.

Referenced by boot_client().

VOLID boot_User_volid = 0

Definition at line 153 of file boot_cl.c.

Referenced by allocate_index(), boot_initialize_client(), and classobj_make_class().

char boot_Volume_label[PATH_MAX] = " "
static

Definition at line 160 of file boot_cl.c.

Referenced by boot_initialize_client().