File boot_cl.c¶
FileList > cubrid > src > transaction > boot_cl.c
Go to the source code of this file
#include "config.h"#include <stdio.h>#include <string.h>#include <sys/time.h>#include <unistd.h>#include <netdb.h>#include <arpa/inet.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 "authenticate.h"#include "work_space.h"#include "schema_manager.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 "method_callback.hpp"#include "object_primitive.h"#include "connection_globals.h"#include "host_lookup.h"#include "schema_system_catalog.hpp"#include "sp_catalog.hpp"#include "authenticate_context.hpp"#include "schema_information_schema.hpp"#include <signal.h>#include "network.h"#include "network_interface_cl.h"#include "tcp.h"#include "catalog_class.h"
Public Attributes¶
| Type | Name |
|---|---|
| char | boot_Host_connected = "" |
| char | boot_Host_name = "" |
| char | boot_Ip_address = { 0 } |
| VOLID | boot_User_volid = 0 |
Public Static Attributes¶
| Type | Name |
|---|---|
| char | boot_Client_id_buffer |
| const char * | boot_Client_id_unknown_string = "(unknown)" |
| const char * | boot_Client_no_user_string = "(nouser)" |
| char | boot_Db_host_buf |
| char | boot_Db_path_buf |
| bool | boot_Is_client_all_final = [**true**](broker__monitor_8c.md#function-timeout) |
| char | boot_Lob_path_buf |
| char | boot_Log_path_buf |
| int | boot_Process_id = -1 |
| BOOT_SERVER_CREDENTIAL | boot_Server_credential = /* multi line expression */ |
| bool | boot_Set_client_at_exit = [**false**](broker__monitor_8c.md#function-timeout) |
| char | boot_Volume_label = " " |
Public Functions¶
Public Static Functions¶
Macros¶
| Type | Name |
|---|---|
| define | BOOT_CHECK_HA_DELAY_CAP [**NET\_CAP\_HA\_REPL\_DELAY**](network_8h.md#define-net_cap_ha_repl_delay) |
| define | BOOT_FORMAT_MAX_LENGTH 500 |
| define | BOOT_NO_OPT_CAP 0 |
Public Attributes Documentation¶
variable boot_Host_connected¶
variable boot_Host_name¶
variable boot_Ip_address¶
variable boot_User_volid¶
Public Static Attributes Documentation¶
variable boot_Client_id_buffer¶
variable boot_Client_id_unknown_string¶
variable boot_Client_no_user_string¶
variable boot_Db_host_buf¶
variable boot_Db_path_buf¶
variable boot_Is_client_all_final¶
variable boot_Lob_path_buf¶
variable boot_Log_path_buf¶
variable boot_Process_id¶
variable boot_Server_credential¶
variable boot_Set_client_at_exit¶
variable boot_Volume_label¶
Public Functions Documentation¶
function boot_build_catalog_classes¶
function boot_clear_host_connected¶
function boot_client_all_finalize¶
function boot_destroy_catalog_classes¶
function boot_donot_shutdown_client_at_exit¶
function boot_get_ha_server_state¶
function boot_get_host_connected¶
function boot_get_host_name¶
function boot_get_ip¶
function boot_get_lob_path¶
function boot_get_server_session_key¶
function boot_initialize_client¶
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
)
function boot_rebuild_catalog_classes¶
function boot_restart_client¶
function boot_server_die_or_changed¶
function boot_set_server_session_key¶
function boot_shutdown_client¶
Public Static Functions Documentation¶
function boot_build_db_info¶
static DB_INFO * boot_build_db_info (
BOOT_CLIENT_CREDENTIAL * client_credential,
BOOT_DB_PATH_INFO * db_path_info,
int * ret_error_code
)
function boot_check_and_fill_connection_info¶
static void boot_check_and_fill_connection_info (
BOOT_CLIENT_CREDENTIAL * client_credential,
bool is_createdb
)
function boot_check_and_fill_db_path_info¶
static int boot_check_and_fill_db_path_info (
BOOT_CLIENT_CREDENTIAL * client_credential,
BOOT_DB_PATH_INFO * db_path_info
)
function boot_check_locales¶
function boot_check_timezone_checksum¶
function boot_client¶
function boot_client_common¶
static int boot_client_common (
BOOT_CLIENT_CREDENTIAL * client_credential,
const char * lang_charset,
bool is_createdb
)
function boot_client_find_and_cache_class_oids¶
function boot_client_initialize_css¶
static int boot_client_initialize_css (
DB_INFO * db,
int client_type,
bool check_capabilities,
int opt_cap,
bool discriminative,
int connect_order,
bool is_preferred_host
)
function boot_connect_to_server¶
function boot_restart_failure_cleanup¶
function boot_shutdown_client_at_exit¶
function install_system_metadata¶
function reset_isolation_and_wait_times¶
Macro Definition Documentation¶
define BOOT_CHECK_HA_DELAY_CAP¶
define BOOT_FORMAT_MAX_LENGTH¶
define BOOT_NO_OPT_CAP¶
The documentation for this class was generated from the following file cubrid/src/transaction/boot_cl.c