39 #include <sys/types.h> 42 #include <sys/param.h> 62 #if defined (SERVER_MODE) || defined (SA_MODE) 88 #if defined (SERVER_MODE) 92 #if defined (SUPPRESS_STRLEN_WARNING) 93 #define strlen(s1) ((int) strlen(s1)) 96 #define ER_LOG_FILE_DIR "server" 97 #if !defined (CS_MODE) 109 #define PRM_NAME_ER_LOG_DEBUG "er_log_debug" 111 #define PRM_NAME_ER_BTREE_DEBUG "er_btree_debug" 113 #define PRM_NAME_ER_LOG_LEVEL "error_log_level" 115 #define PRM_NAME_ER_LOG_WARNING "error_log_warning" 117 #define PRM_NAME_ER_EXIT_ASK "inquire_on_exit" 119 #define PRM_NAME_ER_LOG_SIZE "error_log_size" 121 #define PRM_NAME_ER_LOG_FILE "error_log" 123 #define PRM_NAME_IO_LOCKF_ENABLE "file_lock" 125 #define PRM_NAME_SR_NBUFFERS "sort_buffer_pages" 127 #define PRM_NAME_SORT_BUFFER_SIZE "sort_buffer_size" 129 #define PRM_NAME_PB_NBUFFERS "data_buffer_pages" 131 #define PRM_NAME_PAGE_BUFFER_SIZE "data_buffer_size" 133 #define PRM_NAME_PB_BUFFER_FLUSH_RATIO "data_buffer_flush_ratio" 135 #define PRM_NAME_HF_UNFILL_FACTOR "unfill_factor" 137 #define PRM_NAME_HF_MAX_BESTSPACE_ENTRIES "max_bestspace_entries" 139 #define PRM_NAME_BT_UNFILL_FACTOR "index_unfill_factor" 141 #define PRM_NAME_BT_OID_NBUFFERS "index_scan_oid_buffer_pages" 143 #define PRM_NAME_BT_OID_BUFFER_SIZE "index_scan_oid_buffer_size" 145 #define PRM_NAME_BT_INDEX_SCAN_OID_ORDER "index_scan_in_oid_order" 147 #define PRM_NAME_BOSR_MAXTMP_PAGES "temp_file_max_size_in_pages" 149 #define PRM_NAME_LK_TIMEOUT_MESSAGE_DUMP_LEVEL "lock_timeout_message_type" 151 #define PRM_NAME_LK_ESCALATION_AT "lock_escalation" 153 #define PRM_NAME_LK_ROLLBACK_ON_LOCK_ESCALATION "rollback_on_lock_escalation" 155 #define PRM_NAME_LK_TIMEOUT_SECS "lock_timeout_in_secs" 157 #define PRM_NAME_LK_TIMEOUT "lock_timeout" 159 #define PRM_NAME_LK_RUN_DEADLOCK_INTERVAL "deadlock_detection_interval_in_secs" 161 #define PRM_NAME_LOG_NBUFFERS "log_buffer_pages" 163 #define PRM_NAME_LOG_BUFFER_SIZE "log_buffer_size" 165 #define PRM_NAME_LOG_CHECKPOINT_NPAGES "checkpoint_every_npages" 167 #define PRM_NAME_LOG_CHECKPOINT_SIZE "checkpoint_every_size" 170 #define PRM_NAME_LOG_CHECKPOINT_INTERVAL_SECS "checkpoint_interval_in_mins" 172 #define PRM_NAME_LOG_CHECKPOINT_INTERVAL "checkpoint_interval" 174 #define PRM_NAME_LOG_CHECKPOINT_SLEEP_MSECS "checkpoint_sleep_msecs" 176 #define PRM_NAME_LOG_BACKGROUND_ARCHIVING "background_archiving" 178 #define PRM_NAME_LOG_ISOLATION_LEVEL "isolation_level" 180 #define PRM_NAME_LOG_MEDIA_FAILURE_SUPPORT "media_failure_support" 182 #define PRM_NAME_LOG_SWEEP_CLEAN "log_file_sweep_clean" 184 #define PRM_NAME_COMMIT_ON_SHUTDOWN "commit_on_shutdown" 186 #define PRM_NAME_SHUTDOWN_WAIT_TIME_IN_SECS "shutdown_wait_time_in_secs" 188 #define PRM_NAME_CSQL_AUTO_COMMIT "csql_auto_commit" 190 #define PRM_NAME_WS_HASHTABLE_SIZE "initial_workspace_table_size" 192 #define PRM_NAME_WS_MEMORY_REPORT "workspace_memory_report" 194 #define PRM_NAME_GC_ENABLE "garbage_collection" 196 #define PRM_NAME_TCP_PORT_ID "cubrid_port_id" 198 #define PRM_NAME_TCP_CONNECTION_TIMEOUT "connection_timeout" 200 #define PRM_NAME_OPTIMIZATION_LEVEL "optimization_level" 202 #define PRM_NAME_QO_DUMP "qo_dump" 204 #define PRM_NAME_CSS_MAX_CLIENTS "max_clients" 206 #define PRM_NAME_THREAD_STACKSIZE "thread_stacksize" 208 #define PRM_NAME_CFG_DB_HOSTS "db_hosts" 210 #define PRM_NAME_RESET_TR_PARSER "reset_tr_parser_interval" 212 #define PRM_NAME_IO_BACKUP_NBUFFERS "backup_buffer_pages" 214 #define PRM_NAME_IO_BACKUP_MAX_VOLUME_SIZE "backup_volume_max_size_bytes" 216 #define PRM_NAME_IO_BACKUP_SLEEP_MSECS "backup_sleep_msecs" 218 #define PRM_NAME_MAX_PAGES_IN_TEMP_FILE_CACHE "max_pages_in_temp_file_cache" 220 #define PRM_NAME_MAX_ENTRIES_IN_TEMP_FILE_CACHE "max_entries_in_temp_file_cache" 222 #define PRM_NAME_PTHREAD_SCOPE_PROCESS "pthread_scope_process" 224 #define PRM_NAME_TEMP_MEM_BUFFER_PAGES "temp_file_memory_size_in_pages" 226 #define PRM_NAME_INDEX_SCAN_KEY_BUFFER_PAGES "index_scan_key_buffer_pages" 228 #define PRM_NAME_INDEX_SCAN_KEY_BUFFER_SIZE "index_scan_key_buffer_size" 230 #define PRM_NAME_DONT_REUSE_HEAP_FILE "dont_reuse_heap_file" 232 #define PRM_NAME_INSERT_MODE "insert_execution_mode" 234 #define PRM_NAME_LK_MAX_SCANID_BIT "max_index_scan_count" 236 #define PRM_NAME_HOSTVAR_LATE_BINDING "hostvar_late_binding" 238 #define PRM_NAME_ENABLE_HISTO "communication_histogram" 240 #define PRM_NAME_MUTEX_BUSY_WAITING_CNT "mutex_busy_waiting_cnt" 242 #define PRM_NAME_PB_NUM_LRU_CHAINS "num_LRU_chains" 244 #define PRM_NAME_PAGE_BG_FLUSH_INTERVAL_MSECS "page_flush_interval_in_msecs" 246 #define PRM_NAME_PAGE_BG_FLUSH_INTERVAL "page_flush_interval" 248 #define PRM_NAME_ADAPTIVE_FLUSH_CONTROL "adaptive_flush_control" 250 #define PRM_NAME_MAX_FLUSH_PAGES_PER_SECOND "max_flush_pages_per_second" 252 #define PRM_NAME_MAX_FLUSH_SIZE_PER_SECOND "max_flush_size_per_second" 254 #define PRM_NAME_PB_SYNC_ON_NFLUSH "sync_on_nflush" 256 #define PRM_NAME_PB_SYNC_ON_FLUSH_SIZE "sync_on_flush_size" 258 #define PRM_NAME_PB_DEBUG_PAGE_VALIDATION_LEVEL "page_validation_level" 260 #define PRM_NAME_ORACLE_STYLE_OUTERJOIN "oracle_style_outerjoin" 262 #define PRM_NAME_COMPAT_MODE "compat_mode" 264 #define PRM_NAME_ANSI_QUOTES "ansi_quotes" 266 #define PRM_NAME_DEFAULT_WEEK_FORMAT "default_week_format" 268 #define PRM_NAME_TEST_MODE "test_mode" 270 #define PRM_NAME_ONLY_FULL_GROUP_BY "only_full_group_by" 272 #define PRM_NAME_PIPES_AS_CONCAT "pipes_as_concat" 274 #define PRM_NAME_MYSQL_TRIGGER_CORRELATION_NAMES "mysql_trigger_correlation_names" 276 #define PRM_NAME_REQUIRE_LIKE_ESCAPE_CHARACTER "require_like_escape_character" 278 #define PRM_NAME_NO_BACKSLASH_ESCAPES "no_backslash_escapes" 280 #define PRM_NAME_GROUP_CONCAT_MAX_LEN "group_concat_max_len" 282 #define PRM_NAME_STRING_MAX_SIZE_BYTES "string_max_size_bytes" 284 #define PRM_NAME_ADD_COLUMN_UPDATE_HARD_DEFAULT "add_column_update_hard_default" 286 #define PRM_NAME_RETURN_NULL_ON_FUNCTION_ERRORS "return_null_on_function_errors" 288 #define PRM_NAME_PLUS_AS_CONCAT "plus_as_concat" 290 #define PRM_NAME_ALTER_TABLE_CHANGE_TYPE_STRICT "alter_table_change_type_strict" 292 #define PRM_NAME_COMPACTDB_PAGE_RECLAIM_ONLY "compactdb_page_reclaim_only" 294 #define PRM_NAME_LIKE_TERM_SELECTIVITY "like_term_selectivity" 296 #define PRM_NAME_MAX_OUTER_CARD_OF_IDXJOIN "max_outer_card_of_idxjoin" 298 #define PRM_NAME_ORACLE_STYLE_EMPTY_STRING "oracle_style_empty_string" 300 #define PRM_NAME_SUPPRESS_FSYNC "suppress_fsync" 302 #define PRM_NAME_CALL_STACK_DUMP_ON_ERROR "call_stack_dump_on_error" 304 #define PRM_NAME_CALL_STACK_DUMP_ACTIVATION "call_stack_dump_activation_list" 306 #define PRM_NAME_CALL_STACK_DUMP_DEACTIVATION "call_stack_dump_deactivation_list" 308 #define PRM_NAME_COMPAT_NUMERIC_DIVISION_SCALE "compat_numeric_division_scale" 310 #define PRM_NAME_DBFILES_PROTECT "dbfiles_protect" 312 #define PRM_NAME_AUTO_RESTART_SERVER "auto_restart_server" 314 #define PRM_NAME_XASL_CACHE_MAX_ENTRIES "max_plan_cache_entries" 315 #define PRM_NAME_XASL_CACHE_MAX_CLONES "max_plan_cache_clones" 316 #define PRM_NAME_XASL_CACHE_TIMEOUT "plan_cache_timeout" 317 #define PRM_NAME_XASL_CACHE_LOGGING "plan_cache_logging" 319 #define PRM_NAME_FILTER_PRED_MAX_CACHE_ENTRIES "max_filter_pred_cache_entries" 320 #define PRM_NAME_FILTER_PRED_MAX_CACHE_CLONES "max_filter_pred_cache_clones" 322 #define PRM_NAME_LIST_QUERY_CACHE_MODE "query_cache_mode" 324 #define PRM_NAME_LIST_MAX_QUERY_CACHE_ENTRIES "max_query_cache_entries" 326 #define PRM_NAME_LIST_MAX_QUERY_CACHE_PAGES "query_cache_size_in_pages" 328 #define PRM_NAME_USE_ORDERBY_SORT_LIMIT "use_orderby_sort_limit" 330 #define PRM_NAME_REPLICATION_MODE "replication" 332 #define PRM_NAME_HA_MODE "ha_mode" 334 #define PRM_NAME_HA_MODE_FOR_SA_UTILS_ONLY "ha_mode_for_sa_utils_only" 336 #define PRM_NAME_HA_SERVER_STATE "ha_server_state" 338 #define PRM_NAME_HA_LOG_APPLIER_STATE "ha_log_applier_state" 340 #define PRM_NAME_HA_NODE_LIST "ha_node_list" 342 #define PRM_NAME_HA_REPLICA_LIST "ha_replica_list" 344 #define PRM_NAME_HA_DB_LIST "ha_db_list" 346 #define PRM_NAME_HA_COPY_LOG_BASE "ha_copy_log_base" 348 #define PRM_NAME_HA_COPY_SYNC_MODE "ha_copy_sync_mode" 350 #define PRM_NAME_HA_APPLY_MAX_MEM_SIZE "ha_apply_max_mem_size" 352 #define PRM_NAME_HA_PORT_ID "ha_port_id" 354 #define PRM_NAME_HA_INIT_TIMER_IN_MSECS "ha_init_timer_in_msec" 356 #define PRM_NAME_HA_HEARTBEAT_INTERVAL_IN_MSECS "ha_heartbeat_interval_in_msecs" 358 #define PRM_NAME_HA_CALC_SCORE_INTERVAL_IN_MSECS "ha_calc_score_interval_in_msecs" 360 #define PRM_NAME_HA_FAILOVER_WAIT_TIME_IN_MSECS "ha_failover_wait_time_in_msecs" 362 #define PRM_NAME_HA_PROCESS_START_CONFIRM_INTERVAL_IN_MSECS "ha_process_start_confirm_interval_in_msecs" 364 #define PRM_NAME_HA_PROCESS_DEREG_CONFIRM_INTERVAL_IN_MSECS "ha_process_dereg_confirm_interval_in_msecs" 366 #define PRM_NAME_HA_MAX_PROCESS_START_CONFIRM "ha_max_process_start_confirm" 368 #define PRM_NAME_HA_MAX_PROCESS_DEREG_CONFIRM "ha_max_process_dereg_confirm" 370 #define PRM_NAME_HA_UNACCEPTABLE_PROC_RESTART_TIMEDIFF "ha_unacceptable_proc_restart_timediff" 372 #define PRM_NAME_HA_CHANGEMODE_INTERVAL_IN_MSEC "ha_changemode_interval_in_msecs" 374 #define PRM_NAME_HA_MAX_HEARTBEAT_GAP "ha_max_heartbeat_gap" 376 #define PRM_NAME_HA_PING_HOSTS "ha_ping_hosts" 378 #define PRM_NAME_HA_APPLYLOGDB_RETRY_ERROR_LIST "ha_applylogdb_retry_error_list" 380 #define PRM_NAME_HA_APPLYLOGDB_IGNORE_ERROR_LIST "ha_applylogdb_ignore_error_list" 382 #define PRM_NAME_HA_APPLYLOGDB_LOG_WAIT_TIME_IN_SECS "ha_applylogdb_log_wait_time_in_secs" 384 #define PRM_NAME_HA_SQL_LOGGING "ha_enable_sql_logging" 386 #define PRM_NAME_HA_SQL_LOG_MAX_SIZE_IN_MB "ha_sql_log_max_size_in_mbytes" 388 #define PRM_NAME_HA_COPY_LOG_MAX_ARCHIVES "ha_copy_log_max_archives" 390 #define PRM_NAME_HA_COPY_LOG_TIMEOUT "ha_copy_log_timeout" 392 #define PRM_NAME_HA_REPLICA_DELAY "ha_replica_delay" 394 #define PRM_NAME_HA_REPLICA_TIME_BOUND "ha_replica_time_bound" 396 #define PRM_NAME_HA_DELAY_LIMIT "ha_delay_limit" 398 #define PRM_NAME_HA_DELAY_LIMIT_DELTA "ha_delay_limit_delta" 400 #define PRM_NAME_HA_APPLYLOGDB_MAX_COMMIT_INTERVAL_IN_MSECS "ha_applylogdb_max_commit_interval_in_msecs" 402 #define PRM_NAME_HA_APPLYLOGDB_MAX_COMMIT_INTERVAL "ha_applylogdb_max_commit_interval" 404 #define PRM_NAME_HA_CHECK_DISK_FAILURE_INTERVAL_IN_SECS "ha_check_disk_failure_interval" 406 #define PRM_NAME_JAVA_STORED_PROCEDURE "java_stored_procedure" 408 #define PRM_NAME_JAVA_STORED_PROCEDURE_PORT "java_stored_procedure_port" 410 #define PRM_NAME_JAVA_STORED_PROCEDURE_JVM_OPTIONS "java_stored_procedure_jvm_options" 412 #define PRM_NAME_JAVA_STORED_PROCEDURE_DEBUG "java_stored_procedure_debug" 414 #define PRM_NAME_JAVA_STORED_PROCEDURE_RESERVE_01 "java_stored_procedure_reserve_01" 416 #define PRM_NAME_ALLOW_TRUNCATED_STRING "allow_truncated_string" 418 #define PRM_NAME_COMPAT_PRIMARY_KEY "compat_primary_key" 420 #define PRM_NAME_INTL_MBS_SUPPORT "intl_mbs_support" 422 #define PRM_NAME_LOG_HEADER_FLUSH_INTERVAL "log_header_flush_interval_in_secs" 424 #define PRM_NAME_LOG_ASYNC_COMMIT "async_commit" 426 #define PRM_NAME_LOG_GROUP_COMMIT_INTERVAL_MSECS "group_commit_interval_in_msecs" 428 #define PRM_NAME_LOG_BG_FLUSH_INTERVAL_MSECS "log_flush_interval_in_msecs" 430 #define PRM_NAME_LOG_BG_FLUSH_NUM_PAGES "log_flush_every_npages" 432 #define PRM_NAME_LOG_COMPRESS "log_compress" 434 #define PRM_NAME_BLOCK_NOWHERE_STATEMENT "block_nowhere_statement" 436 #define PRM_NAME_BLOCK_DDL_STATEMENT "block_ddl_statement" 438 #define PRM_NAME_SINGLE_BYTE_COMPARE "single_byte_compare" 440 #define PRM_NAME_CSQL_HISTORY_NUM "csql_history_num" 442 #define PRM_NAME_LOG_TRACE_DEBUG "log_trace_debug" 444 #define PRM_NAME_DL_FORK "dl_fork" 446 #define PRM_NAME_ER_PRODUCTION_MODE "error_log_production_mode" 448 #define PRM_NAME_ER_STOP_ON_ERROR "stop_on_error" 450 #define PRM_NAME_TCP_RCVBUF_SIZE "tcp_rcvbuf_size" 452 #define PRM_NAME_TCP_SNDBUF_SIZE "tcp_sndbuf_size" 454 #define PRM_NAME_TCP_NODELAY "tcp_nodelay" 456 #define PRM_NAME_TCP_KEEPALIVE "tcp_keepalive" 458 #define PRM_NAME_CSQL_SINGLE_LINE_MODE "csql_single_line_mode" 460 #define PRM_NAME_XASL_DEBUG_DUMP "xasl_debug_dump" 462 #define PRM_NAME_LOG_MAX_ARCHIVES "log_max_archives" 464 #define PRM_NAME_FORCE_REMOVE_LOG_ARCHIVES "force_remove_log_archives" 466 #define PRM_NAME_REMOVE_LOG_ARCHIVES_INTERVAL "remove_log_archive_interval_in_secs" 468 #define PRM_NAME_LOG_NO_LOGGING "no_logging" 470 #define PRM_NAME_UNLOADDB_IGNORE_ERROR "unload_ignore_error" 472 #define PRM_NAME_UNLOADDB_LOCK_TIMEOUT "unload_lock_timeout" 474 #define PRM_NAME_LOADDB_FLUSH_INTERVAL "load_flush_interval" 476 #define PRM_NAME_IO_TEMP_VOLUME_PATH "temp_volume_path" 478 #define PRM_NAME_TDE_KEYS_FILE_PATH "tde_keys_file_path" 480 #define PRM_NAME_IO_VOLUME_EXT_PATH "volume_extension_path" 482 #define PRM_NAME_UNIQUE_ERROR_KEY_VALUE "print_key_value_on_unique_error" 484 #define PRM_NAME_USE_SYSTEM_MALLOC "use_system_malloc" 486 #define PRM_NAME_EVENT_HANDLER "event_handler" 488 #define PRM_NAME_EVENT_ACTIVATION "event_activation_list" 490 #define PRM_NAME_READ_ONLY_MODE "read_only" 492 #define PRM_NAME_MNT_WAITING_THREAD "monitor_waiting_thread" 494 #define PRM_NAME_MNT_STATS_THRESHOLD "monitor_stats_threshold" 496 #define PRM_NAME_SERVICE_SERVICE_LIST "service::service" 498 #define PRM_NAME_SERVICE_SERVER_LIST "service::server" 500 #define PRM_NAME_SESSION_STATE_TIMEOUT "session_state_timeout" 502 #define PRM_NAME_MULTI_RANGE_OPT_LIMIT "multi_range_optimization_limit" 504 #define PRM_NAME_ACCESS_IP_CONTROL "access_ip_control" 506 #define PRM_NAME_ACCESS_IP_CONTROL_FILE "access_ip_control_file" 508 #define PRM_NAME_DB_VOLUME_SIZE "db_volume_size" 510 #define PRM_NAME_LOG_VOLUME_SIZE "log_volume_size" 512 #define PRM_NAME_INTL_NUMBER_LANG "intl_number_lang" 514 #define PRM_NAME_INTL_DATE_LANG "intl_date_lang" 516 #define PRM_NAME_UNICODE_INPUT_NORMALIZATION "unicode_input_normalization" 518 #define PRM_NAME_UNICODE_OUTPUT_NORMALIZATION "unicode_output_normalization" 520 #define PRM_NAME_INTL_CHECK_INPUT_STRING "intl_check_input_string" 522 #define PRM_NAME_CHECK_PEER_ALIVE "check_peer_alive" 524 #define PRM_NAME_SQL_TRACE_EXECUTION_PLAN "sql_trace_execution_plan" 526 #define PRM_NAME_SQL_TRACE_SLOW_MSECS "sql_trace_slow_msecs" 528 #define PRM_NAME_SQL_TRACE_SLOW "sql_trace_slow" 530 #define PRM_NAME_LOG_TRACE_FLUSH_TIME "log_trace_flush_time" 532 #define PRM_NAME_INTL_COLLATION "intl_collation" 534 #define PRM_NAME_GENERIC_VOL_PREALLOC_SIZE "generic_vol_prealloc_size" 536 #define PRM_NAME_SORT_LIMIT_MAX_COUNT "sort_limit_max_count" 538 #define PRM_NAME_SQL_TRACE_IOREADS "sql_trace_ioread_pages" 541 #define PRM_NAME_QUERY_TRACE "query_trace" 542 #define PRM_NAME_QUERY_TRACE_FORMAT "query_trace_format" 544 #define PRM_NAME_MAX_RECURSION_SQL_DEPTH "max_recursion_sql_depth" 546 #define PRM_NAME_UPDATE_USE_ATTRIBUTE_REFERENCES "update_use_attribute_references" 548 #define PRM_NAME_PB_AOUT_RATIO "data_aout_ratio" 550 #define PRM_NAME_MAX_AGG_HASH_SIZE "max_agg_hash_size" 551 #define PRM_NAME_AGG_HASH_RESPECT_ORDER "agg_hash_respect_order" 553 #define PRM_NAME_USE_BTREE_FENCE_KEY "use_btree_fence_key" 555 #define PRM_NAME_OPTIMIZER_ENABLE_MERGE_JOIN "optimizer_enable_merge_join" 556 #define PRM_NAME_MAX_HASH_LIST_SCAN_SIZE "max_hash_list_scan_size" 557 #define PRM_NAME_OPTIMIZER_RESERVE_02 "optimizer_reserve_02" 558 #define PRM_NAME_OPTIMIZER_RESERVE_03 "optimizer_reserve_03" 559 #define PRM_NAME_OPTIMIZER_RESERVE_04 "optimizer_reserve_04" 560 #define PRM_NAME_OPTIMIZER_RESERVE_05 "optimizer_reserve_05" 561 #define PRM_NAME_OPTIMIZER_RESERVE_06 "optimizer_reserve_06" 562 #define PRM_NAME_OPTIMIZER_RESERVE_07 "optimizer_reserve_07" 563 #define PRM_NAME_OPTIMIZER_RESERVE_08 "optimizer_reserve_08" 564 #define PRM_NAME_OPTIMIZER_RESERVE_09 "optimizer_reserve_09" 565 #define PRM_NAME_OPTIMIZER_RESERVE_10 "optimizer_reserve_10" 566 #define PRM_NAME_OPTIMIZER_RESERVE_11 "optimizer_reserve_11" 567 #define PRM_NAME_OPTIMIZER_RESERVE_12 "optimizer_reserve_12" 568 #define PRM_NAME_OPTIMIZER_RESERVE_13 "optimizer_reserve_13" 569 #define PRM_NAME_OPTIMIZER_RESERVE_14 "optimizer_reserve_14" 570 #define PRM_NAME_OPTIMIZER_RESERVE_15 "optimizer_reserve_15" 571 #define PRM_NAME_OPTIMIZER_RESERVE_16 "optimizer_reserve_16" 572 #define PRM_NAME_OPTIMIZER_RESERVE_17 "optimizer_reserve_17" 573 #define PRM_NAME_OPTIMIZER_RESERVE_18 "optimizer_reserve_18" 574 #define PRM_NAME_OPTIMIZER_RESERVE_19 "optimizer_reserve_19" 575 #define PRM_NAME_OPTIMIZER_RESERVE_20 "optimizer_reserve_20" 577 #define PRM_NAME_HA_REPL_ENABLE_SERVER_SIDE_UPDATE "ha_repl_enable_server_side_update" 578 #define PRM_NAME_PB_LRU_HOT_RATIO "lru_hot_ratio" 579 #define PRM_NAME_PB_LRU_BUFFER_RATIO "lru_buffer_ratio" 581 #define PRM_NAME_VACUUM_MASTER_WAKEUP_INTERVAL "vacuum_master_interval_in_msecs" 583 #define PRM_NAME_VACUUM_LOG_BLOCK_PAGES "vacuum_log_block_pages" 584 #define PRM_NAME_VACUUM_WORKER_COUNT "vacuum_worker_count" 586 #define PRM_NAME_DISABLE_VACUUM "vacuum_disable" 588 #define PRM_NAME_SA_MODE_AUTO_VACUUM "sa_mode_auto_vacuum" 590 #define PRM_NAME_ER_LOG_VACUUM "er_log_vacuum" 592 #define PRM_NAME_LOG_BTREE_OPS "log_btree_operations" 594 #define PRM_NAME_OBJECT_PRINT_FORMAT_OID "print_object_as_oid" 596 #define PRM_NAME_TIMEZONE "timezone" 597 #define PRM_NAME_SERVER_TIMEZONE "server_timezone" 598 #define PRM_NAME_TZ_LEAP_SECOND_SUPPORT "tz_leap_second_support" 600 #define PRM_NAME_OPTIMIZER_ENABLE_AGGREGATE_OPTIMIZATION "optimizer_enable_aggregate_optimization" 602 #define PRM_NAME_VACUUM_PREFETCH_LOG_NBUFFERS "vacuum_prefetch_log_pages" 603 #define PRM_NAME_VACUUM_PREFETCH_LOG_BUFFER_SIZE "vacuum_prefetch_log_buffer_size" 604 #define PRM_NAME_VACUUM_PREFETCH_LOG_MODE "vacuum_prefetch_log_mode" 606 #define PRM_NAME_PB_NEIGHBOR_FLUSH_NONDIRTY "data_buffer_neighbor_flush_nondirty" 607 #define PRM_NAME_PB_NEIGHBOR_FLUSH_PAGES "data_buffer_neighbor_flush_pages" 609 #define PRM_NAME_FAULT_INJECTION_IDS "fault_injection_ids" 610 #define PRM_NAME_FAULT_INJECTION_TEST "fault_injection_test" 611 #define PRM_NAME_FAULT_INJECTION_ACTION_PREFER_ABORT_TO_EXIT "fault_injection_action_prefer_abort_to_exit" 613 #define PRM_NAME_HA_REPL_FILTER_TYPE "ha_repl_filter_type" 614 #define PRM_NAME_HA_REPL_FILTER_FILE "ha_repl_filter_file" 616 #define PRM_NAME_COMPENSATE_DEBUG "compensate_debug" 617 #define PRM_NAME_POSTPONE_DEBUG "postpone_debug" 619 #define PRM_NAME_CLIENT_CLASS_CACHE_DEBUG "client_class_cache_debug" 621 #define PRM_NAME_EXAMINE_CLIENT_CACHED_LOCKS "examine_client_cached_locks" 623 #define PRM_NAME_PB_SEQUENTIAL_VICTIM_FLUSH "data_buffer_sequential_victim_flush" 625 #define PRM_NAME_LOG_UNIQUE_STATS "log_unique_stats" 627 #define PRM_NAME_LOGPB_LOGGING_DEBUG "logpb_logging_debug" 629 #define PRM_NAME_FORCE_RESTART_TO_SKIP_RECOVERY "force_restart_to_skip_recovery" 631 #define PRM_NAME_ENABLE_STRING_COMPRESSION "enable_string_compression" 633 #define PRM_NAME_XASL_CACHE_TIME_THRESHOLD_IN_MINUTES "xasl_cache_time_threshold_in_minutes" 635 #define PRM_NAME_EXTENDED_STATISTICS_ACTIVATION "extended_statistics_activation" 637 #define PRM_NAME_DISK_LOGGING "disk_logging_debug" 638 #define PRM_NAME_FILE_LOGGING "file_logging_debug" 640 #define PRM_NAME_PB_NUM_PRIVATE_CHAINS "num_private_chains" 641 #define PRM_NAME_PB_MONITOR_LOCKS "pgbuf_monitor_locks" 642 #define PRM_NAME_PB_MAX_DEPTH_OF_SEARCHING_FOR_VICTIMS_IN_LRU_LIST "max_depth_of_searching_for_victims_in_lru_list" 644 #define PRM_NAME_CTE_MAX_RECURSIONS "cte_max_recursions" 646 #define PRM_NAME_DWB_SIZE "double_write_buffer_size" 647 #define PRM_NAME_DWB_BLOCKS "double_write_buffer_blocks" 648 #define PRM_NAME_ENABLE_DWB_FLUSH_THREAD "double_write_buffer_enable_flush_thread" 649 #define PRM_NAME_DWB_LOGGING "double_write_buffer_logging" 651 #define PRM_NAME_JSON_LOG_ALLOCATIONS "json_log_allocations" 652 #define PRM_NAME_JSON_MAX_ARRAY_IDX "json_max_array_idx" 654 #define PRM_NAME_CONNECTION_LOGGING "connection_logging" 656 #define PRM_NAME_THREAD_LOGGING_FLAG "thread_logging_flag" 658 #define PRM_NAME_LOG_QUERY_LISTS "log_query_lists" 660 #define PRM_NAME_THREAD_CONNECTION_POOLING "thread_connection_pooling" 661 #define PRM_NAME_THREAD_CONNECTION_TIMEOUT_SECONDS "thread_connection_timeout_seconds" 662 #define PRM_NAME_THREAD_WORKER_POOLING "thread_worker_pooling" 663 #define PRM_NAME_THREAD_WORKER_TIMEOUT_SECONDS "thread_worker_timeout_seconds" 665 #define PRM_NAME_DATA_FILE_ADVISE "data_file_os_advise" 667 #define PRM_NAME_DEBUG_LOG_ARCHIVES "debug_log_archives" 668 #define PRM_NAME_DEBUG_ES "debug_external_storage" 669 #define PRM_NAME_DEBUG_BESTSPACE "debug_heap_bestspace" 670 #define PRM_NAME_DEBUG_LOG_WRITER "debug_log_writer" 671 #define PRM_NAME_DEBUG_AUTOCOMMIT "debug_autocommit" 672 #define PRM_NAME_DEBUG_REPLICATION_DATA "debug_replication_data" 673 #define PRM_NAME_TRACK_REQUESTS "track_client_requests" 674 #define PRM_NAME_LOG_PGBUF_VICTIM_FLUSH "log_pgbuf_victim_flush" 675 #define PRM_NAME_LOG_CHKPT_DETAILED "detailed_checkpoint_logging" 676 #define PRM_NAME_IB_TASK_MEMSIZE "index_load_task_memsize" 677 #define PRM_NAME_STATS_ON "stats_on" 678 #define PRM_NAME_LOADDB_WORKER_COUNT "loaddb_worker_count" 679 #define PRM_NAME_PERF_TEST_MODE "perf_test_mode" 680 #define PRM_NAME_REPR_CACHE_LOG "er_log_repr_cache" 681 #define PRM_NAME_ENABLE_NEW_LFHASH "new_lfhash" 682 #define PRM_NAME_HEAP_INFO_CACHE_LOGGING "heap_info_cache_logging" 683 #define PRM_NAME_TDE_DEFAULT_ALGORITHM "tde_default_algorithm" 685 #define PRM_NAME_GENERAL_RESERVE_01 "general_reserve_01" 687 #define PRM_NAME_TB_DEFAULT_REUSE_OID "create_table_reuseoid" 689 #define PRM_NAME_USE_STAT_ESTIMATION "use_stat_estimation" 690 #define PRM_NAME_IGNORE_TRAILING_SPACE "ignore_trailing_space" 692 #define PRM_NAME_DDL_AUDIT_LOG "ddl_audit_log" 693 #define PRM_NAME_DDL_AUDIT_LOG_SIZE "ddl_audit_log_size" 695 #define PRM_VALUE_DEFAULT "DEFAULT" 696 #define PRM_VALUE_MAX "MAX" 697 #define PRM_VALUE_MIN "MIN" 713 #define PRM_EMPTY_FLAG 0x00000000 714 #define PRM_USER_CHANGE 0x00000001 715 #define PRM_FOR_CLIENT 0x00000002 716 #define PRM_FOR_SERVER 0x00000004 717 #define PRM_HIDDEN 0x00000008 718 #define PRM_RELOADABLE 0x00000010 719 #define PRM_COMPOUND 0x00000020 720 #define PRM_TEST_CHANGE 0x00000040 721 #define PRM_FOR_HA 0x00000080 722 #define PRM_FOR_SESSION 0x00000100 724 #define PRM_FORCE_SERVER 0x00000200 725 #define PRM_FOR_QRY_STRING 0x00000400 727 #define PRM_CLIENT_SESSION 0x00000800 729 #define PRM_SIZE_UNIT 0x00001000 730 #define PRM_TIME_UNIT 0x00002000 731 #define PRM_DIFFER_UNIT 0x00004000 732 #define PRM_FOR_HA_CONTEXT 0x00008000 734 #define PRM_GET_SERVER 0x00010000 738 #define PRM_DEPRECATED 0x40000000 739 #define PRM_OBSOLETED 0x80000000 744 #define PRM_SET 0x00000001 745 #define PRM_ALLOCATED 0x00000002 746 #define PRM_DEFAULT_USED 0x00000004 747 #define PRM_DIFFERENT 0x00000008 753 #define PRM_IS_STRING(x) ((x)->datatype == PRM_STRING) 754 #define PRM_IS_INTEGER(x) ((x)->datatype == PRM_INTEGER) 755 #define PRM_IS_FLOAT(x) ((x)->datatype == PRM_FLOAT) 756 #define PRM_IS_BOOLEAN(x) ((x)->datatype == PRM_BOOLEAN) 757 #define PRM_IS_KEYWORD(x) ((x)->datatype == PRM_KEYWORD) 758 #define PRM_IS_INTEGER_LIST(x) ((x)->datatype == PRM_INTEGER_LIST) 759 #define PRM_IS_BIGINT(x) ((x)->datatype == PRM_BIGINT) 765 #define PRM_USER_CAN_CHANGE(x) (x & PRM_USER_CHANGE) 766 #define PRM_IS_FOR_CLIENT(x) (x & PRM_FOR_CLIENT) 767 #define PRM_IS_FOR_SERVER(x) (x & PRM_FOR_SERVER) 768 #define PRM_IS_HIDDEN(x) (x & PRM_HIDDEN) 769 #define PRM_IS_RELOADABLE(x) (x & PRM_RELOADABLE) 770 #define PRM_IS_COMPOUND(x) (x & PRM_COMPOUND) 771 #define PRM_TEST_CHANGE_ONLY(x) (x & PRM_TEST_CHANGE) 772 #define PRM_IS_FOR_HA(x) (x & PRM_FOR_HA) 773 #define PRM_IS_FOR_SESSION(x) (x & PRM_FOR_SESSION) 774 #define PRM_GET_FROM_SERVER(x) (x & PRM_FORCE_SERVER) 775 #define PRM_IS_FOR_QRY_STRING(x) (x & PRM_FOR_QRY_STRING) 776 #define PRM_CLIENT_SESSION_ONLY(x) (x & PRM_CLIENT_SESSION) 777 #define PRM_HAS_SIZE_UNIT(x) (x & PRM_SIZE_UNIT) 778 #define PRM_HAS_TIME_UNIT(x) (x & PRM_TIME_UNIT) 779 #define PRM_DIFFERENT_UNIT(x) (x & PRM_DIFFER_UNIT) 780 #define PRM_IS_FOR_HA_CONTEXT(x) (x & PRM_FOR_HA_CONTEXT) 781 #define PRM_IS_GET_SERVER(x) (x & PRM_GET_SERVER) 782 #define PRM_IS_DEPRECATED(x) (x & PRM_DEPRECATED) 783 #define PRM_IS_OBSOLETED(x) (x & PRM_OBSOLETED) 785 #define PRM_IS_SET(x) (x & PRM_SET) 786 #define PRM_IS_ALLOCATED(x) (x & PRM_ALLOCATED) 787 #define PRM_DEFAULT_VAL_USED(x) (x & PRM_DEFAULT_USED) 788 #define PRM_IS_DIFFERENT(x) (x & PRM_DIFFERENT) 794 #define PRM_CLEAR_BIT(this, here) (here &= ~this) 795 #define PRM_SET_BIT(this, here) (here |= this) 801 #define PRM_GET_INT(x) (*((int *) (x))) 802 #define PRM_GET_FLOAT(x) (*((float *) (x))) 803 #define PRM_GET_STRING(x) (*((char **) (x))) 804 #define PRM_GET_BOOL(x) (*((bool *) (x))) 805 #define PRM_GET_INTEGER_LIST(x) (*((int **) (x))) 806 #define PRM_GET_BIGINT(x) (*((UINT64 *) (x))) 812 #define PRM_ADJUST_FOR_SET_BIGINT_TO_INTEGER(prm,out_val,in_val,err) \ 815 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 816 assert (sizeof (*(out_val)) == sizeof (int)); \ 817 assert (sizeof (*(in_val)) == sizeof (UINT64)); \ 818 *(err) = (SYSPRM_ERR) (*((prm)->set_dup)) ((void *) (out_val), PRM_INTEGER, (void *) (in_val), PRM_BIGINT); \ 822 #define PRM_ADJUST_FOR_SET_BIGINT_TO_FLOAT(prm,out_val,in_val,err) \ 825 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 826 assert (sizeof (*(out_val)) == sizeof (float)); \ 827 assert (sizeof (*(in_val)) == sizeof (UINT64)); \ 828 *(err) = (SYSPRM_ERR) (*((prm)->set_dup)) ((void *) (out_val), PRM_FLOAT, (void *) (in_val), PRM_BIGINT); \ 832 #define PRM_ADJUST_FOR_SET_INTEGER_TO_INTEGER(prm,out_val,in_val,err) \ 835 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 836 assert (sizeof (*(out_val)) == sizeof (int)); \ 837 assert (sizeof (*(in_val)) == sizeof (int)); \ 838 *(err) = (SYSPRM_ERR) (*((prm)->set_dup)) ((void *) (out_val), PRM_INTEGER, (void *) (in_val), PRM_INTEGER);\ 842 #define PRM_ADJUST_FOR_SET_FLOAT_TO_FLOAT(prm,out_val,in_val,err) \ 845 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 846 assert (sizeof (*(out_val)) == sizeof (float)); \ 847 assert (sizeof (*(in_val)) == sizeof (float)); \ 848 *(err) = (SYSPRM_ERR) (*((prm)->set_dup)) ((void *) (out_val), PRM_FLOAT, (void *) (in_val), PRM_FLOAT); \ 852 #define PRM_ADJUST_FOR_SET_BIGINT_TO_BIGINT(prm,out_val,in_val,err) \ 855 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 856 assert (sizeof (*(out_val)) == sizeof (UINT64)); \ 857 assert (sizeof (*(in_val)) == sizeof (UINT64)); \ 858 *(err) = (*((prm)->set_dup)) ((void *) (out_val), PRM_BIGINT, (void *) (in_val), PRM_BIGINT); \ 862 #define PRM_ADJUST_FOR_GET_INTEGER_TO_BIGINT(prm,out_val,in_val,err) \ 865 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 866 assert (sizeof (*(out_val)) == sizeof (UINT64)); \ 867 assert (sizeof (*(in_val)) == sizeof (int)); \ 868 *(err) = (SYSPRM_ERR) (*((prm)->get_dup)) ((void *) (out_val), PRM_BIGINT, (void *) (in_val), PRM_INTEGER); \ 872 #define PRM_ADJUST_FOR_GET_FLOAT_TO_BIGINT(prm,out_val,in_val,err) \ 875 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 876 assert (sizeof (*(out_val)) == sizeof (UINT64)); \ 877 assert (sizeof (*(in_val)) == sizeof (float)); \ 878 *(err) = (SYSPRM_ERR) (*((prm)->get_dup)) ((void *) (out_val), PRM_BIGINT, (void *) (in_val), PRM_FLOAT); \ 882 #define PRM_ADJUST_FOR_GET_INTEGER_TO_INTEGER(prm,out_val,in_val,err) \ 885 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL);\ 886 assert (sizeof (*(out_val)) == sizeof (int)); \ 887 assert (sizeof (*(in_val)) == sizeof (int)); \ 888 *(err) = (SYSPRM_ERR) (*((prm)->get_dup)) ((void *) (out_val), PRM_INTEGER, (void *) (in_val), PRM_INTEGER); \ 892 #define PRM_ADJUST_FOR_GET_FLOAT_TO_FLOAT(prm,out_val,in_val,err) \ 895 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 896 assert (sizeof (*(out_val)) == sizeof (float)); \ 897 assert (sizeof (*(in_val)) == sizeof (float)); \ 898 *(err) = (SYSPRM_ERR) (*((prm)->get_dup)) ((void *) (out_val), PRM_FLOAT, (void *) (in_val), PRM_FLOAT); \ 902 #define PRM_ADJUST_FOR_GET_BIGINT_TO_BIGINT(prm,out_val,in_val,err) \ 905 assert ((prm) != NULL && (out_val) != NULL && (in_val) != NULL); \ 906 assert (sizeof (*(out_val)) == sizeof (UINT64));\ 907 assert (sizeof (*(in_val)) == sizeof (UINT64)); \ 908 *(err) = (SYSPRM_ERR) (*((prm)->get_dup)) ((void *) (out_val), PRM_BIGINT, (void *) (in_val), PRM_BIGINT); \ 914 #define PRM_DEFAULT_BUFFER_SIZE 256 1039 #if !defined (SERVER_MODE) && !defined (SA_MODE) 1040 #define LOGPB_BUFFER_NPAGES_LOWER 128 1123 #if !defined (SERVER_MODE) && !defined (SA_MODE) 1124 #define CSS_MAX_CLIENT_COUNT 4000 1242 #if !defined (SERVER_MODE) && !defined (SA_MODE) 1252 #if !defined(NDEBUG) 1637 #if defined (ENABLE_UNUSED_FUNCTION) 1638 bool PRM_SINGLE_BYTE_COMPARE =
false;
1639 static bool prm_single_byte_compare_default =
false;
1640 static unsigned int prm_single_byte_compare_flag = 0;
2000 #if !defined (SERVER_MODE) && !defined (SA_MODE) 2001 #define VACUUM_LOG_BLOCK_PAGES_DEFAULT 0 2002 #define VACUUM_MAX_WORKER_COUNT 0 2362 #if defined(SERVER_MODE) 2391 (
void *)
NULL, (
void *) NULL,
2402 (
void *)
NULL, (
void *) NULL,
2424 (
void *)
NULL, (
void *) NULL,
2435 (
void *)
NULL, (
void *) NULL,
2457 (
void *)
NULL, (
void *) NULL,
2468 (
void *)
NULL, (
void *) NULL,
2479 (
void *)
NULL, (
void *) NULL,
2490 (
void *)
NULL, (
void *) NULL,
2568 (
void *)
NULL, (
void *) NULL,
2612 (
void *)
NULL, (
void *) NULL,
2623 (
void *)
NULL, (
void *) NULL,
2657 (
void *)
NULL, (
void *) NULL,
2778 (
void *)
NULL, (
void *) NULL,
2813 (
void *)
NULL, (
void *) NULL,
2835 (
void *)
NULL, (
void *) NULL,
2846 (
void *)
NULL, (
void *) NULL,
2868 (
void *)
NULL, (
void *) NULL,
2879 (
void *)
NULL, (
void *) NULL,
2912 (
void *)
NULL, (
void *) NULL,
2923 (
void *)
NULL, (
void *) NULL,
2958 (
void *)
NULL, (
void *) NULL,
2969 (
void *)
NULL, (
void *) NULL,
3036 (
void *)
NULL, (
void *) NULL,
3083 (
void *)
NULL, (
void *) NULL,
3118 (
void *)
NULL, (
void *) NULL,
3129 (
void *)
NULL, (
void *) NULL,
3140 (
void *)
NULL, (
void *) NULL,
3257 (
void *)
NULL, (
void *) NULL,
3268 (
void *)
NULL, (
void *) NULL,
3291 (
void *)
NULL, (
void *) NULL,
3302 (
void *)
NULL, (
void *) NULL,
3313 (
void *)
NULL, (
void *) NULL,
3324 (
void *)
NULL, (
void *) NULL,
3335 (
void *)
NULL, (
void *) NULL,
3346 (
void *)
NULL, (
void *) NULL,
3381 (
void *)
NULL, (
void *) NULL,
3392 (
void *)
NULL, (
void *) NULL,
3403 (
void *)
NULL, (
void *) NULL,
3414 (
void *)
NULL, (
void *) NULL,
3425 (
void *)
NULL, (
void *) NULL,
3460 (
void *)
NULL, (
void *) NULL,
3483 (
void *)
NULL, (
void *) NULL,
3494 (
void *)
NULL, (
void *) NULL,
3505 (
void *)
NULL, (
void *) NULL,
3516 (
void *)
NULL, (
void *) NULL,
3527 (
void *)
NULL, (
void *) NULL,
3538 (
void *)
NULL, (
void *) NULL,
3550 (
void *)
NULL, (
void *) NULL,
3573 (
void *)
NULL, (
void *) NULL,
3584 (
void *)
NULL, (
void *) NULL,
3595 (
void *)
NULL, (
void *) NULL,
3606 (
void *)
NULL, (
void *) NULL,
3653 (
void *)
NULL, (
void *) NULL,
3724 (
void *)
NULL, (
void *) NULL,
3735 (
void *)
NULL, (
void *) NULL,
3746 (
void *)
NULL, (
void *) NULL,
3757 (
void *)
NULL, (
void *) NULL,
3768 (
void *)
NULL, (
void *) NULL,
3801 (
void *)
NULL, (
void *) NULL,
3812 (
void *)
NULL, (
void *) NULL,
3823 (
void *)
NULL, (
void *) NULL,
3834 (
void *)
NULL, (
void *) NULL,
3845 (
void *)
NULL, (
void *) NULL,
3856 (
void *)
NULL, (
void *) NULL,
3867 (
void *)
NULL, (
void *) NULL,
3878 (
void *)
NULL, (
void *) NULL,
3889 (
void *)
NULL, (
void *) NULL,
3900 (
void *)
NULL, (
void *) NULL,
3911 (
void *)
NULL, (
void *) NULL,
3922 (
void *)
NULL, (
void *) NULL,
3933 (
void *)
NULL, (
void *) NULL,
3944 (
void *)
NULL, (
void *) NULL,
3966 (
void *)
NULL, (
void *) NULL,
4025 (
void *)
NULL, (
void *) NULL,
4096 (
void *)
NULL, (
void *) NULL,
4107 (
void *)
NULL, (
void *) NULL,
4130 (
void *)
NULL, (
void *) NULL,
4176 (
void *)
NULL, (
void *) NULL,
4187 (
void *)
NULL, (
void *) NULL,
4198 (
void *)
NULL, (
void *) NULL,
4209 (
void *)
NULL, (
void *) NULL,
4213 #if defined (ENABLE_UNUSED_FUNCTION) 4214 {PRM_ID_SINGLE_BYTE_COMPARE,
4218 &prm_single_byte_compare_flag,
4219 (
void *) &prm_single_byte_compare_default,
4220 (
void *) &PRM_SINGLE_BYTE_COMPARE,
4221 (
void *)
NULL, (
void *) NULL,
4245 (
void *)
NULL, (
void *) NULL,
4256 (
void *)
NULL, (
void *) NULL,
4267 (
void *)
NULL, (
void *) NULL,
4289 (
void *)
NULL, (
void *) NULL,
4300 (
void *)
NULL, (
void *) NULL,
4311 (
void *)
NULL, (
void *) NULL,
4322 (
void *)
NULL, (
void *) NULL,
4333 (
void *)
NULL, (
void *) NULL,
4344 (
void *)
NULL, (
void *) NULL,
4366 (
void *)
NULL, (
void *) NULL,
4388 (
void *)
NULL, (
void *) NULL,
4399 (
void *)
NULL, (
void *) NULL,
4432 (
void *)
NULL, (
void *) NULL,
4443 (
void *)
NULL, (
void *) NULL,
4454 (
void *)
NULL, (
void *) NULL,
4465 (
void *)
NULL, (
void *) NULL,
4476 (
void *)
NULL, (
void *) NULL,
4487 (
void *)
NULL, (
void *) NULL,
4498 (
void *)
NULL, (
void *) NULL,
4520 (
void *)
NULL, (
void *) NULL,
4531 (
void *)
NULL, (
void *) NULL,
4542 (
void *)
NULL, (
void *) NULL,
4577 (
void *)
NULL, (
void *) NULL,
4588 (
void *)
NULL, (
void *) NULL,
4637 (
void *)
NULL, (
void *) NULL,
4648 (
void *)
NULL, (
void *) NULL,
4659 (
void *)
NULL, (
void *) NULL,
4670 (
void *)
NULL, (
void *) NULL,
4729 (
void *)
NULL, (
void *) NULL,
4776 (
void *)
NULL, (
void *) NULL,
4871 (
void *)
NULL, (
void *) NULL,
4894 (
void *)
NULL, (
void *) NULL,
4905 (
void *)
NULL, (
void *) NULL,
4916 (
void *)
NULL, (
void *) NULL,
4927 (
void *)
NULL, (
void *) NULL,
4938 (
void *)
NULL, (
void *) NULL,
4949 (
void *)
NULL, (
void *) NULL,
4960 (
void *)
NULL, (
void *) NULL,
4971 (
void *)
NULL, (
void *) NULL,
4982 (
void *)
NULL, (
void *) NULL,
4993 (
void *)
NULL, (
void *) NULL,
5004 (
void *)
NULL, (
void *) NULL,
5015 (
void *)
NULL, (
void *) NULL,
5026 (
void *)
NULL, (
void *) NULL,
5037 (
void *)
NULL, (
void *) NULL,
5048 (
void *)
NULL, (
void *) NULL,
5059 (
void *)
NULL, (
void *) NULL,
5070 (
void *)
NULL, (
void *) NULL,
5081 (
void *)
NULL, (
void *) NULL,
5092 (
void *)
NULL, (
void *) NULL,
5223 (
void *)
NULL, (
void *) NULL,
5234 (
void *)
NULL, (
void *) NULL,
5245 (
void *)
NULL, (
void *) NULL,
5256 (
void *)
NULL, (
void *) NULL,
5351 (
void *)
NULL, (
void *) NULL,
5374 (
void *)
NULL, (
void *) NULL,
5385 (
void *)
NULL, (
void *) NULL,
5396 (
void *)
NULL, (
void *) NULL,
5407 (
void *)
NULL, (
void *) NULL,
5418 (
void *)
NULL, (
void *) NULL,
5429 (
void *)
NULL, (
void *) NULL,
5440 (
void *)
NULL, (
void *) NULL,
5451 (
void *)
NULL, (
void *) NULL,
5486 (
void *)
NULL, (
void *) NULL,
5509 (
void *)
NULL, (
void *) NULL,
5520 (
void *)
NULL, (
void *) NULL,
5567 (
void *)
NULL, (
void *) NULL,
5590 (
void *)
NULL, (
void *) NULL,
5601 (
void *)
NULL, (
void *) NULL,
5612 (
void *)
NULL, (
void *) NULL,
5623 (
void *)
NULL, (
void *) NULL,
5646 (
void *)
NULL, (
void *) NULL,
5693 (
void *)
NULL, (
void *) NULL,
5704 (
void *)
NULL, (
void *) NULL,
5727 (
void *)
NULL, (
void *) NULL,
5738 (
void *)
NULL, (
void *) NULL,
5749 (
void *)
NULL, (
void *) NULL,
5760 (
void *)
NULL, (
void *) NULL,
5771 (
void *)
NULL, (
void *) NULL,
5782 (
void *)
NULL, (
void *) NULL,
5793 (
void *)
NULL, (
void *) NULL,
5804 (
void *)
NULL, (
void *) NULL,
5815 (
void *)
NULL, (
void *) NULL,
5837 (
void *)
NULL, (
void *) NULL,
5859 (
void *)
NULL, (
void *) NULL,
5870 (
void *)
NULL, (
void *) NULL,
5881 (
void *)
NULL, (
void *) NULL,
5892 (
void *)
NULL, (
void *) NULL,
5903 (
void *)
NULL, (
void *) NULL,
5914 (
void *)
NULL, (
void *) NULL,
5925 (
void *)
NULL, (
void *) NULL,
5947 (
void *)
NULL, (
void *) NULL,
5958 (
void *)
NULL, (
void *) NULL,
5969 (
void *)
NULL, (
void *) NULL,
5980 (
void *)
NULL, (
void *) NULL,
5991 (
void *)
NULL, (
void *) NULL,
6002 (
void *)
NULL, (
void *) NULL,
6013 (
void *)
NULL, (
void *) NULL,
6024 (
void *)
NULL, (
void *) NULL,
6042 #define NUM_PRM ((int)(sizeof(prm_Def)/sizeof(prm_Def[0]))) 6043 #define PARAM_MSG_FMT(msgid) msgcat_message (MSGCAT_CATALOG_CUBRID, MSGCAT_SET_PARAMETERS, (msgid)) 6045 #define GET_PRM(id) (&prm_Def[(id)]) 6046 #define GET_PRM_STATIC_FLAG(id) ((GET_PRM (id))->static_flag) 6047 #define GET_PRM_DYNAMIC_FLAG(id) ((GET_PRM (id))->dynamic_flag) 6048 #define GET_PRM_DATATYPE(id) ((GET_PRM (id))->datatype) 6050 #if defined (CS_MODE) 6051 #define PRM_PRINT_QRY_STRING(id) (PRM_IS_DIFFERENT (*(GET_PRM_DYNAMIC_FLAG (id))) \ 6052 && PRM_IS_FOR_QRY_STRING (GET_PRM_STATIC_FLAG (id))) 6054 #define PRM_PRINT_QRY_STRING(id) (PRM_IS_FOR_QRY_STRING (GET_PRM_STATIC_FLAG (id))) 6057 #define PRM_SERVER_SESSION(id) (PRM_IS_FOR_SESSION (GET_PRM_STATIC_FLAG (id)) \ 6058 && PRM_IS_FOR_SERVER (GET_PRM_STATIC_FLAG (id)) \ 6059 && !PRM_CLIENT_SESSION_ONLY (GET_PRM_STATIC_FLAG (id))) 6062 #define NUM_SESSION_PRM num_session_parameters 6064 #if defined (CS_MODE) 6140 {
"no", HA_MODE_OFF},
6143 {
"false", HA_MODE_OFF},
6144 {
"off", HA_MODE_OFF},
6354 const int load_flags);
6359 const char *file,
const int load_flags);
6361 const int load_flags);
6395 #if defined (SERVER_MODE) 6400 #if defined (CS_MODE) 6401 static void sysprm_update_cached_session_param_val (
const PARAM_ID prm_id);
6404 #if defined (SA_MODE) || defined (SERVER_MODE) 6405 static void init_server_timezone_parameter (
void);
6409 #define MAX_NUM_OF_PRM_FILES_LOADED 10 6452 fprintf (fp,
"#\n# cubrid.conf\n#\n\n");
6453 fprintf (fp,
"# system parameters were loaded from the files ([@section])\n");
6470 fprintf (fp,
"\n# system parameters\n");
6479 fprintf (fp,
"%s\n", buf);
6494 char *s, *base_db_name;
6497 struct tm log_tm, *log_tm_p = &log_tm;
6498 char error_log_name[PATH_MAX];
6501 if (db_name ==
NULL)
6513 s = strchr (local_db_name,
'@');
6518 base_db_name =
basename ((
char *) local_db_name);
6519 if (base_db_name ==
NULL)
6524 log_time = time (
NULL);
6525 log_tm_p = localtime_r (&log_time, &log_tm);
6526 if (log_tm_p !=
NULL)
6529 base_db_name, log_tm_p->tm_year + 1900, log_tm_p->tm_mon + 1, log_tm_p->tm_mday, log_tm_p->tm_hour,
6531 prm_set (er_log_file, error_log_name,
true);
6548 char *base_db_name =
NULL;
6549 char file_being_dealt_with[PATH_MAX];
6552 struct stat stat_buf;
6555 #if defined (CS_MODE) 6557 int num_session_prms;
6574 if (db_name ==
NULL)
6581 base_db_name =
NULL;
6586 s = strchr (local_db_name,
'@');
6591 base_db_name =
basename ((
char *) local_db_name);
6594 #if !defined (CS_MODE) 6595 if (base_db_name !=
NULL && reload ==
false)
6606 if (conf_file ==
NULL)
6610 if (conf_file !=
NULL && *conf_file ==
'\0')
6616 if (conf_file !=
NULL)
6619 strncpy (file_being_dealt_with, conf_file,
sizeof (file_being_dealt_with) - 1);
6626 if (stat (file_being_dealt_with, &stat_buf) != 0)
6629 file_being_dealt_with, strerror (errno));
6645 if (conf_file !=
NULL && conf_file[0] !=
'\0')
6653 if (stat (file_being_dealt_with, &stat_buf) == 0)
6681 #if defined (SA_MODE) || defined (SERVER_MODE) 6682 init_server_timezone_parameter ();
6700 for (i = 0; i < DIM (prm_Def); i++)
6704 prm_set (&prm_Def[i], prm_Def[i].force_value,
false);
6727 #if defined (CS_MODE) 6729 if (cached_session_parameters !=
NULL)
6735 num_session_prms = 0;
6740 sprm = &cached_session_parameters[num_session_prms++];
6750 #if !defined(NDEBUG) 6846 const int load_flags)
6851 const char *key, *
value;
6853 bool on_server =
false;
6854 bool on_client =
false;
6856 #if defined(SERVER_MODE) 6860 #if defined(CS_MODE) 6864 sec_p = (ignore_section) ?
NULL : section;
6866 for (i = 0; i < ini->
size; i++)
6874 value = ini->
val[
i];
6897 prm =
prm_find (key + sec_len, sec_p);
6905 #if defined (CS_MODE) 6913 #if defined (SERVER_MODE) 6984 if ((on_server || on_client)
6992 #if !defined(SERVER_MODE) 7004 #if !defined(SERVER_MODE) 7026 error =
prm_set (prm, value,
true);
7049 char sec_name[LINE_MAX];
7058 prm_file_name, strerror (errno));
7065 snprintf (sec_name, LINE_MAX,
"@%s", db_name);
7069 #if defined (SA_MODE) 7083 snprintf (sec_name, LINE_MAX,
"%%%s|*", host_name);
7087 snprintf (sec_name, LINE_MAX,
"%%%s|%s", host_name, user_name);
7106 if (out_val ==
NULL || in_val ==
NULL)
7113 int *page_value = (
int *) out_val;
7114 UINT64 *size_value = (UINT64 *) in_val;
7123 if (tmp_value > INT_MAX)
7129 *page_value = (int) tmp_value;
7134 float *page_value = (
float *) out_val;
7135 UINT64 *size_value = (UINT64 *) in_val;
7140 if (tmp_value > FLT_MAX)
7146 *page_value = ceilf ((
float) tmp_value * 100) / 100;
7165 if (out_val ==
NULL || in_val ==
NULL)
7172 UINT64 *size_value = (UINT64 *) out_val;
7173 UINT64 page_value = *(
int *) in_val;
7175 *size_value = (UINT64) (page_value *
IO_PAGESIZE);
7179 UINT64 *size_value = (UINT64 *) out_val;
7180 float page_value = *(
float *) in_val;
7182 *size_value = (UINT64) (page_value *
IO_PAGESIZE);
7200 if (out_val ==
NULL || in_val ==
NULL)
7207 int *page_value = (
int *) out_val;
7208 UINT64 *size_value = (UINT64 *) in_val;
7217 if (tmp_value > INT_MAX)
7223 *page_value = (int) tmp_value;
7228 float *page_value = (
float *) out_val;
7229 UINT64 *size_value = (UINT64 *) in_val;
7234 if (tmp_value > FLT_MAX)
7240 *page_value = ceilf ((
float) tmp_value * 100) / 100;
7259 if (out_val ==
NULL || in_val ==
NULL)
7266 UINT64 *size_value = (UINT64 *) out_val;
7267 UINT64 page_value = *(
int *) in_val;
7273 UINT64 *size_value = (UINT64 *) out_val;
7274 float page_value = *(
float *) in_val;
7280 int *size_value = (
int *) out_val;
7281 int page_value = *(
int *) in_val;
7290 *size_value = (int) t;
7308 if (out_val ==
NULL || in_val ==
NULL)
7315 int *sec_value = (
int *) out_val;
7316 UINT64 *msec_value = (UINT64 *) in_val;
7319 tmp_value = *msec_value /
ONE_SEC;
7321 if (tmp_value > INT_MAX)
7327 *sec_value = (int) tmp_value;
7328 if (*msec_value %
ONE_SEC > 0)
7330 *sec_value = *sec_value + 1;
7350 if (out_val ==
NULL || in_val ==
NULL)
7357 UINT64 *msec_value = (UINT64 *) out_val;
7358 int sec_value = *(
int *) in_val;
7360 *msec_value = ((UINT64) sec_value) *
ONE_SEC;
7364 int *msec_value = (
int *) out_val;
7365 int sec_value = *(
int *) in_val;
7368 t = ((UINT64) sec_value) *
ONE_SEC;
7374 *msec_value = (int) t;
7392 if (out_val ==
NULL || in_val ==
NULL)
7399 int *min_value = (
int *) out_val;
7400 int sec_value = *((
int *) in_val);
7404 *min_value = sec_value;
7408 *min_value = sec_value / 60;
7409 if (sec_value % 60 > 0)
7411 *min_value = *min_value + 1;
7431 if (out_val ==
NULL || in_val ==
NULL)
7438 int *sec_value = (
int *) out_val;
7439 int *min_value = (
int *) in_val;
7444 *sec_value = *min_value;
7448 tmp_value = *min_value * 60;
7450 if (tmp_value > INT_MAX)
7456 *sec_value = (int) tmp_value;
7476 if (out_val ==
NULL || in_val ==
NULL)
7483 int *in_value = (
int *) in_val;
7484 int *out_value = (
int *) out_val;
7486 *out_value = *in_value;
7490 float *in_value = (
float *) in_val;
7491 float *out_value = (
float *) out_val;
7493 *out_value = *in_value;
7497 UINT64 *in_value = (UINT64 *) in_val;
7498 UINT64 *out_value = (UINT64 *) out_val;
7500 *out_value = *in_value;
7504 UINT64 *in_value = (UINT64 *) in_val;
7505 int *out_value = (
int *) out_val;
7507 if (*in_value > INT_MAX)
7512 *out_value = (int) *in_value;
7516 int *in_value = (
int *) in_val;
7517 UINT64 *out_value = (UINT64 *) out_val;
7519 *out_value = (UINT64) (*in_value);
7569 strncpy (buf, prm->
name, sizeof (buf) - 1);
7570 buf[
sizeof (buf) - 1] =
'\0';
7577 error =
prm_set (prm, str,
true);
7601 bool set_require_like_escape, set_no_backslash_escape;
7602 bool is_require_like_escape =
false, is_no_backslash_escape =
false;
7604 set_require_like_escape = set_no_backslash_escape =
false;
7605 for (assignment = assignment_list; assignment !=
NULL; assignment = assignment->
next)
7609 set_require_like_escape =
true;
7610 is_require_like_escape = assignment->
value.
b;
7614 set_no_backslash_escape =
true;
7615 is_no_backslash_escape = assignment->
value.
b;
7619 if (!set_require_like_escape && !set_no_backslash_escape)
7624 if (!set_no_backslash_escape)
7630 if (!set_require_like_escape)
7636 if (is_require_like_escape ==
true && is_no_backslash_escape ==
true)
7644 #if !defined (SERVER_MODE) 7672 *assignments_ptr =
NULL;
7674 if (!data || *data ==
'\0')
7748 if (assignments !=
NULL)
7750 last_assign->next = assign;
7751 last_assign = assign;
7755 assignments = last_assign = assign;
7768 *assignments_ptr = assignments;
7771 return change_error;
7792 char buf[LINE_MAX], *
p =
NULL, *out_p =
NULL;
7794 int remaining_size, n;
7804 out_p = default_val_buf;
7805 remaining_size = buf_size - 1;
7845 remaining_size -= n;
7847 n = snprintf (out_p, remaining_size,
";");
7849 remaining_size -= n;
7851 while (p && remaining_size > 0);
7873 for (; assignments !=
NULL; assignments = assignments->
next)
7876 #if defined (CS_MODE) 7886 #if defined (SERVER_MODE) 7897 #if defined (SERVER_MODE) 7955 prm_value = prm->
value;
7961 int left_side_len =
strlen (left_side);
7994 n = snprintf (buf, len,
"%s", left_side);
8010 dup_val = (INT64) tmp_val;
8014 dup_val = (INT64) val;
8018 n = snprintf (buf, len,
"%s", left_side);
8022 n = snprintf (buf, len,
"%s%d", left_side, val);
8028 int left_side_len =
strlen (left_side);
8043 n = snprintf (buf, len,
"%s", left_side);
8047 n = snprintf (buf, len,
"%s%lld", left_side, (
unsigned long long) val);
8052 n = snprintf (buf, len,
"%s%c", left_side, (
PRM_GET_BOOL (prm_value) ?
'y' :
'n'));
8057 int left_side_len =
strlen (left_side);
8089 n = snprintf (buf, len,
"%s", left_side);
8093 n = snprintf (buf, len,
"%s%f", left_side, val);
8116 DIM (pgbuf_debug_page_validation_level_words));
8166 n = snprintf (buf, len,
"%s\"%s\"", left_side, keyvalp->
key);
8170 n = snprintf (buf, len,
"%s%d", left_side,
PRM_GET_INT (prm_value));
8175 int *int_list, list_size,
i;
8181 list_size = int_list[0];
8183 n = snprintf (s, len,
"%s", left_side);
8187 for (i = 1; i <= list_size; i++)
8189 n = snprintf (s, len,
"%d,", int_list[i]);
8208 n = snprintf (buf, len,
"%s", left_side);
8213 n = snprintf (buf, len,
"%s?", left_side);
8265 int left_side_len =
strlen (left_side);
8298 n = snprintf (buf, len,
"%s", left_side);
8314 dup_val = (INT64) tmp_val;
8318 dup_val = (INT64) val;
8322 n = snprintf (buf, len,
"%s", left_side);
8326 n = snprintf (buf, len,
"%s%d", left_side, val);
8331 UINT64 val = value.
bi;
8332 int left_side_len =
strlen (left_side);
8347 n = snprintf (buf, len,
"%s", left_side);
8351 n = snprintf (buf, len,
"%s%lld", left_side, (
unsigned long long) val);
8356 n = snprintf (buf, len,
"%s%c", left_side, (value.
b ?
'y' :
'n'));
8360 float val = value.
f;
8361 int left_side_len =
strlen (left_side);
8393 n = snprintf (buf, len,
"%s", left_side);
8397 n = snprintf (buf, len,
"%s%f", left_side, val);
8402 n = snprintf (buf, len,
"%s\"%s\"", left_side, (value.
str !=
NULL ? value.
str :
""));
8410 keyvalp =
prm_keyword (value.
i,
NULL, er_log_level_words, DIM (er_log_level_words));
8414 keyvalp =
prm_keyword (value.
i,
NULL, isolation_level_words, DIM (isolation_level_words));
8420 DIM (pgbuf_debug_page_validation_level_words));
8429 keyvalp =
prm_keyword (value.
i,
NULL, ha_server_state_words, DIM (ha_server_state_words));
8433 keyvalp =
prm_keyword (value.
i,
NULL, ha_log_applier_state_words, DIM (ha_log_applier_state_words));
8441 keyvalp =
prm_keyword (value.
i,
NULL, check_peer_alive_words, DIM (check_peer_alive_words));
8445 keyvalp =
prm_keyword (value.
i,
NULL, query_trace_format_words, DIM (query_trace_format_words));
8453 keyvalp =
prm_keyword (value.
i,
NULL, ha_repl_filter_type_words, DIM (ha_repl_filter_type_words));
8457 keyvalp =
prm_keyword (value.
i,
NULL, tde_algorithm_words, DIM (tde_algorithm_words));
8466 n = snprintf (buf, len,
"%s\"%s\"", left_side, keyvalp->
key);
8470 n = snprintf (buf, len,
"%s%d", left_side, value.
i);
8475 int *int_list =
NULL, list_size,
i;
8481 list_size = int_list[0];
8483 n = snprintf (s, len,
"%s", left_side);
8487 for (i = 1; i <= list_size; i++)
8489 n = snprintf (s, len,
"%d,", int_list[i]);
8508 n = snprintf (buf, len,
"%s", left_side);
8513 n = snprintf (buf, len,
"%s?", left_side);
8541 if (!data || *data ==
'\0')
8552 *prm_values_ptr =
NULL;
8598 #if defined (CS_MODE) 8615 if (prm_value ==
NULL)
8623 #if defined (CS_MODE) 8638 if (prm_value_list !=
NULL)
8640 last_prm_value->next = prm_value;
8641 last_prm_value = prm_value;
8645 prm_value_list = last_prm_value = prm_value;
8653 *prm_values_ptr = prm_value_list;
8655 error = scope_error;
8666 #if !defined(CS_MODE) 8694 for (; prm_values !=
NULL; prm_values = prm_values->
next)
8728 if (change_val ==
NULL)
8736 if (force_values !=
NULL)
8738 last_assign->next = change_val;
8739 last_assign = change_val;
8743 force_values = last_assign = change_val;
8748 return force_values;
8790 *((
int *) min) = INT_MIN;
8803 *((
int *) max) = INT_MAX;
8818 *((
float *) min) = FLT_MIN;
8831 *((
float *) max) = FLT_MAX;
8846 *((UINT64 *) min) = 0ULL;
8952 INT64 *dup_val = (INT64 *) value;
8956 UINT64 tmp_val = (UINT64) * dup_val;
8961 val = (int) *dup_val;
8975 val = *((
int *) value);
9017 val = *((
float *) value);
9049 val = *((UINT64 *) value);
9081 int set_min = 0, set_max = 0, set_default = 0;
9101 #if defined (CS_MODE) 9134 #if defined (SERVER_MODE) 9156 #if defined(CS_MODE) 9196 if (set_max || set_min)
9268 UINT64 tmp_val = (UINT64) dup_val;
9277 val = (int) dup_val;
9353 new_value->
bi = val;
9396 val = (float) strtod (value, &end);
9401 else if (*end !=
'\0')
9437 keyvalp =
prm_keyword (-1, value, boolean_words, DIM (boolean_words));
9438 if (keyvalp ==
NULL)
9443 new_value->
b = (
bool) keyvalp->
val;
9450 const char *val =
NULL;
9522 size_t size = (size_t) ((val[0] + 1) *
sizeof (int));
9548 val = (
int *) calloc (1024,
sizeof (
int));
9551 size_t size = 1024 *
sizeof (int);
9562 if (*s ==
',' || *s ==
'\0')
9590 val[++list_size] = tmp;
9622 keyvalp =
prm_keyword (-1, value, er_log_level_words, DIM (er_log_level_words));
9626 keyvalp =
prm_keyword (-1, value, isolation_level_words, DIM (isolation_level_words));
9631 prm_keyword (-1, value, pgbuf_debug_page_validation_level_words,
9632 DIM (pgbuf_debug_page_validation_level_words));
9637 keyvalp =
prm_keyword (-1, value, ha_mode_words, DIM (ha_mode_words));
9641 keyvalp =
prm_keyword (-1, value, ha_server_state_words, DIM (ha_server_state_words));
9645 keyvalp =
prm_keyword (-1, value, ha_log_applier_state_words, DIM (ha_log_applier_state_words));
9649 keyvalp =
prm_keyword (-1, value, compat_words, DIM (compat_words));
9653 keyvalp =
prm_keyword (-1, value, check_peer_alive_words, DIM (check_peer_alive_words));
9657 keyvalp =
prm_keyword (-1, value, query_trace_format_words, DIM (query_trace_format_words));
9661 keyvalp =
prm_keyword (-1, value, fi_test_words, DIM (fi_test_words));
9665 keyvalp =
prm_keyword (-1, value, ha_repl_filter_type_words, DIM (ha_repl_filter_type_words));
9669 keyvalp =
prm_keyword (-1, value, tde_algorithm_words, DIM (tde_algorithm_words));
9678 val = (int) keyvalp->
val;
9745 #if defined (SERVER_MODE) 9749 void *tmp_ptr =
NULL;
9765 if (tmp_ptr ==
NULL)
9772 value.
str = (
char *) tmp_ptr;
9780 tmp_ptr = (
int *) malloc ((integer_list[0] + 1) *
sizeof (int));
9781 if (tmp_ptr ==
NULL)
9784 (integer_list[0] + 1) *
sizeof (
int));
9789 memcpy (value.
integer_list, integer_list, (integer_list[0] + 1) * sizeof (
int));
9797 #if defined (SERVER_MODE) 9810 if (tmp_ptr !=
NULL)
9821 if (session_tz_region !=
NULL)
9827 return sysprm_set_session_parameter_value (param,
id, value);
9851 #if !defined(SERVER_MODE) 9980 #if defined (SERVER_MODE) 9994 return sysprm_set_session_parameter_default (sprm,
id);
10008 valp = (
int *) prm->
value;
10016 valp = (UINT64 *) prm->
value;
10024 valp = (
bool *) prm->
value;
10032 valp = (
float *) prm->
value;
10047 valp = (
char **) prm->
value;
10063 valp = (
int **) prm->
value;
10095 if (section !=
NULL)
10097 snprintf (buf,
sizeof (buf) - 1,
"%s::%s", section, pname);
10102 key = (
char *) pname;
10105 for (i = 0; i < DIM (prm_Def); i++)
10109 return &prm_Def[
i];
10127 if (pname ==
NULL || pvalue ==
NULL)
10155 char val[LINE_MAX];
10197 for (i = 0; i < dim; i++)
10207 for (i = 0; i < dim; i++)
10209 if (tbl[i].val == val)
10233 else if (line == 0)
10287 for (i = 0; i <
NUM_PRM; i++)
10327 #if defined (SA_MODE) || defined (SERVER_MODE) 10329 init_server_timezone_parameter (
void)
10351 strcpy (timezone_name,
"Asia/Seoul");
10356 strcpy (timezone_name,
"+09:00");
10359 prm_set (prm_server_timezone, timezone_name,
true);
10374 #if defined (SA_MODE) || defined (SERVER_MODE) 10397 char newval[LINE_MAX];
10412 if (pb_aout_ratio_prm !=
NULL)
10414 prm_set (pb_aout_ratio_prm,
"0",
false);
10429 if (max_clients_prm ==
NULL)
10440 max_clients_prm->
name);
10451 sprintf (newval,
"%d", max_clients);
10452 (void)
prm_set (max_clients_prm, newval,
false);
10457 assert (max_plan_cache_entries_prm !=
NULL);
10459 assert (max_query_cache_entries_prm !=
NULL);
10460 assert (query_cache_size_in_pages_prm !=
NULL);
10462 if (max_plan_cache_entries_prm ==
NULL || query_cache_mode_prm ==
NULL || max_query_cache_entries_prm ==
NULL)
10470 (void)
prm_set (max_plan_cache_entries_prm,
"-1",
false);
10476 (void)
prm_set (max_query_cache_entries_prm, 0,
false);
10477 (void)
prm_set (query_cache_size_in_pages_prm, 0,
false);
10483 if (ha_mode_prm ==
NULL || ha_server_state_prm ==
NULL || auto_restart_server_prm ==
NULL)
10488 #if defined (SA_MODE) || defined (WINDOWS) 10506 prm_set (ha_server_state_prm, newval,
false);
10508 prm_set (auto_restart_server_prm,
"no",
false);
10512 prm_set (force_remove_log_archives_prm,
"yes",
false);
10518 prm_set (ha_server_state_prm, newval,
false);
10532 strncpy (host_name,
"localhost",
sizeof (host_name) - 1);
10535 snprintf (newval,
sizeof (newval) - 1,
"%s@%s", host_name, host_name);
10536 prm_set (ha_node_list_prm, newval,
false);
10543 int *integer_list =
NULL;
10551 integer_list = (
int *) malloc ((dim + 1) *
sizeof (int));
10552 if (integer_list ==
NULL)
10558 integer_list[0] = dim;
10565 #if !defined(NDEBUG) 10572 int *integer_list =
NULL;
10586 integer_list = (
int *) malloc ((dim + 1) *
sizeof (int));
10587 if (integer_list ==
NULL)
10593 integer_list[0] = dim;
10594 memcpy (&integer_list[1],
fi_Groups[group_code], dim *
sizeof (
int));
10615 SYSPRM_PARAM *ha_process_dereg_confirm_interval_in_msecs_prm;
10623 char newval[LINE_MAX];
10639 assert (max_plan_cache_entries_prm !=
NULL);
10640 if (max_plan_cache_entries_prm ==
NULL)
10649 (void)
prm_set (max_plan_cache_entries_prm,
"-1",
false);
10652 #if defined (WINDOWS) 10659 int ha_check_disk_failure_interval_value;
10660 int ha_copy_log_timeout_value;
10662 ha_check_disk_failure_interval_value =
PRM_GET_INT (ha_check_disk_failure_interval_prm->
value);
10664 if (ha_copy_log_timeout_value == -1)
10666 prm_set (ha_check_disk_failure_interval_prm,
"0",
false);
10668 else if (ha_check_disk_failure_interval_value - ha_copy_log_timeout_value <
10671 ha_check_disk_failure_interval_value =
10673 sprintf (newval,
"%ds", ha_check_disk_failure_interval_value);
10674 prm_set (ha_check_disk_failure_interval_prm, newval,
false);
10684 strncpy (host_name,
"localhost",
sizeof (host_name) - 1);
10687 snprintf (newval,
sizeof (newval) - 1,
"%s@%s", host_name, host_name);
10688 prm_set (ha_node_list_prm, newval,
false);
10702 #if defined (CS_MODE) 10756 const int param_value = *(
int *) param->
value;
10757 const int param_upper_limit = *(
int *) param->
upper_limit;
10761 assert (param_value <= param_upper_limit);
10763 for (i = 0; i < values_count; ++
i)
10765 const char *compound_param_name = compound_param_values[
i][param_upper_limit + 1];
10766 const char *compound_param_value = compound_param_values[
i][param_value];
10770 if (compound_param_value ==
NULL)
10820 else if (*p ==
'=')
10849 if (*p ==
'"' || *p ==
'\'')
10855 while (*t && *t != delim)
10915 return prm_Def[prm_id].
name;
10931 #if defined (SERVER_MODE) 10943 return &(sprm->
value);
10947 return prm_Def[prm_id].
value;
10951 return prm_Def[prm_id].
value;
11191 if (integer_list ==
NULL)
11196 for (i = 1; i <= integer_list[0]; i++)
11198 if (integer_list[i] == error_code || integer_list[i] == -error_code)
11220 if (integer_list ==
NULL)
11225 for (i = 1; i <= integer_list[0]; i++)
11227 if (integer_list[i] == fi_code)
11248 #if defined (CS_MODE) 11387 if (result ==
NULL)
11392 memset (result, 0, size);
11410 if (*session_parameters_ptr ==
NULL)
11417 sprm = &((*session_parameters_ptr)[
i]);
11611 for (i = 1; i <= temp; i++)
11624 value->
bi = (UINT64) size;
11657 prm = &session_parameters[
i];
11681 int size = 0,
i = 0;
11685 prm = &session_parameters[
i];
11709 int prm_index, tmp;
11712 *session_parameters_ptr =
NULL;
11722 if (session_params ==
NULL)
11732 prm = &session_params[prm_index];
11738 prm->
flag = (
unsigned int) flag;
11751 *session_parameters_ptr = session_params;
11770 char *old_ptr = ptr;
11778 for (count = 0; assign_values !=
NULL; assign_values = assign_values->
next, count++)
11803 for (; assign_values !=
NULL; assign_values = assign_values->
next)
11828 int i = 0,
count = 0, tmp;
11831 *assign_values_ptr =
NULL;
11846 for (i = 0; i <
count; i++)
11849 if (assign_val ==
NULL)
11865 if (assign_values !=
NULL)
11867 last_assign_val->next = assign_val;
11868 last_assign_val = assign_val;
11872 assign_values = last_assign_val = assign_val;
11876 *assign_values_ptr = assign_values;
11895 if (assign_values_ptr ==
NULL || *assign_values_ptr ==
NULL)
11899 assignment = *assign_values_ptr;
11901 while (assignment !=
NULL)
11903 save_next = assignment->
next;
11906 assignment = save_next;
11909 *assign_values_ptr =
NULL;
11921 int id = (int) (prm - prm_Def);
11928 #if defined (SERVER_MODE) 11945 if (session_tz_region !=
NULL)
11975 sysprm_session_init_session_parameters (
SESSION_PARAM ** session_parameters_ptr,
int *found_session_parameters)
11982 *found_session_parameters = 0;
11991 if (session_params ==
NULL)
11994 session_params = *session_parameters_ptr;
12000 update_session_state_from_sys_params (thread_p, session_params);
12006 *session_parameters_ptr = session_params;
12007 *found_session_parameters = 1;
12024 switch (session_parameter->
datatype)
12028 session_parameter->
value.
i = value.
i;
12032 session_parameter->
value.
f = value.
f;
12036 session_parameter->
value.
b = value.
b;
12066 session_parameter->
value.
bi = value.
bi;
12085 switch (session_parameter->
datatype)
12155 if (first_str ==
NULL && second_str ==
NULL)
12161 if (first_str ==
NULL || second_str ==
NULL)
12179 if (first_int_list ==
NULL && second_int_list ==
NULL)
12185 if (second_int_list ==
NULL || second_int_list ==
NULL)
12191 if (first_int_list[0] != second_int_list[0])
12197 for (i = 1; i <= second_int_list[0]; i++)
12199 if (first_int_list[i] != second_int_list[i])
12264 if (integer_list !=
NULL)
12266 size = (integer_list[0] + 1) *
sizeof (
int);
12291 #if defined (CS_MODE) 12301 sysprm_update_client_session_parameters (
SESSION_PARAM * session_parameters)
12305 if (session_parameters ==
NULL)
12338 for (; prm_values !=
NULL; prm_values = prm_values->
next)
12341 if (prm_values->
next)
12343 n += snprintf (buffer + n, length - n,
"; ");
12349 #if !defined (SERVER_MODE) 12360 int i, n, len = LINE_MAX;
12361 char buf[LINE_MAX];
12365 memset (buf, 0, LINE_MAX);
12368 for (i = 0; i <
NUM_PRM; i++)
12376 n = snprintf (ptr, len,
";");
12385 size = (LINE_MAX - len) *
sizeof (
char);
12391 q = (
char *) malloc (size + 1);
12398 memcpy (q, buf, size + 1);
12413 int i, n, len = LINE_MAX;
12414 char buf[LINE_MAX];
12418 memset (buf, 0, LINE_MAX);
12421 for (i = 0; i <
NUM_PRM; i++)
12460 n = snprintf (ptr, len,
";");
12468 size = (LINE_MAX - len) *
sizeof (
char);
12474 q = (
char *) malloc (size + 1);
12481 memcpy (q, buf, size + 1);
12515 #if defined (CS_MODE) 12523 #if defined (CS_MODE) 12531 #if defined (CS_MODE) 12539 #if defined (CS_MODE) 12631 #if defined (CS_MODE) 12643 sysprm_update_cached_session_param_val (
const PARAM_ID prm_id)
12655 cached_session_prm = &cached_session_parameters[
i];
12656 if (cached_session_prm->
prm_id != prm_id)
#define PRM_NAME_PB_NUM_LRU_CHAINS
#define PRM_NAME_HA_APPLYLOGDB_LOG_WAIT_TIME_IN_SECS
static unsigned int prm_optimizer_reserve_09_flag
bool PRM_PTHREAD_SCOPE_PROCESS
static int prm_min_to_sec(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
static int prm_json_max_array_idx_default
#define PRM_NAME_MAX_FLUSH_PAGES_PER_SECOND
static int prm_loaddb_flush_interval_default
static unsigned int prm_disable_vacuum_flag
static unsigned int prm_vacuum_prefetch_log_mode_flag
static unsigned int prm_ha_failover_wait_time_in_msecs_flag
#define ER_PRM_CANNOT_CHANGE_NO_DATA
bool PRM_ADAPTIVE_FLUSH_CONTROL
int PRM_FILTER_PRED_MAX_CACHE_CLONES
static int prm_week_format_lower
static bool prm_unloaddb_ignore_error_default
static bool prm_agg_hash_respect_order_default
#define PRM_NAME_TCP_CONNECTION_TIMEOUT
#define PRM_NAME_INDEX_SCAN_KEY_BUFFER_PAGES
static unsigned int prm_shutdown_wait_time_in_secs_flag
static unsigned int prm_lk_max_scanid_bit_flag
static unsigned int prm_log_header_flush_interval_flag
#define PRM_NAME_CFG_DB_HOSTS
static int prm_xasl_cache_max_clones_default
static unsigned int prm_call_stack_dump_deactivation_flag
#define PRM_ADJUST_FOR_GET_INTEGER_TO_INTEGER(prm, out_val, in_val, err)
static int prm_list_max_query_cache_pages_lower
static bool prm_ha_sql_logging_default
static unsigned int prm_optimizer_reserve_05_flag
static int prm_css_max_clients_lower
static int sysprm_set_value(SYSPRM_PARAM *prm, SYSPRM_VALUE value, bool set_flag, bool duplicate)
int PRM_TEMP_MEM_BUFFER_PAGES
#define ER_PAGE_LATCH_ABORTED
static unsigned int prm_use_btree_fence_key_flag
static int prm_ha_delay_limit_delta_in_secs_default
static unsigned int prm_ddl_audit_log_size_flag
static int prm_filter_pred_max_cache_clones_default
static int prm_er_exit_ask_default
static int prm_ha_mode_lower
bool PRM_OPTIMIZER_RESERVE_12
static int prm_ha_copy_log_max_archives_default
#define PRM_NAME_OPTIMIZER_RESERVE_04
#define PRM_NAME_DWB_BLOCKS
#define PRM_NAME_GENERIC_VOL_PREALLOC_SIZE
static UINT64 prm_ddl_audit_log_size_upper
int(* DUP_PRM_FUNC)(void *, SYSPRM_DATATYPE, void *, SYSPRM_DATATYPE)
#define PRM_NAME_JAVA_STORED_PROCEDURE_DEBUG
static int prm_max_pages_in_temp_file_cache_default
#define ER_HEAP_BAD_RELOCATION_RECORD
#define PRM_NAME_VACUUM_PREFETCH_LOG_BUFFER_SIZE
#define PRM_NAME_LOG_BG_FLUSH_NUM_PAGES
static int prm_pb_num_LRU_chains_default
#define PRM_NAME_FAULT_INJECTION_IDS
#define PRM_NAME_LOG_MAX_ARCHIVES
static int prm_lk_max_scanid_bit_upper
bool prm_tz_leap_second_support_default
#define ER_FILE_TABLE_OVERFLOW
static int prm_sort_limit_max_count_upper
int PRM_PB_SYNC_ON_NFLUSH
static int prm_check_peer_alive_default
static bool prm_intl_mbs_support_default
cubthread::entry * thread_get_thread_entry_info(void)
#define VACUUM_MAX_WORKER_COUNT
#define PRM_NAME_FILE_LOGGING
static int prm_lk_timeout_secs_default
static bool prm_ha_repl_enable_server_side_update_default
static float prm_lk_run_deadlock_interval_default
void prm_set_float_value(PARAM_ID prm_id, float value)
int PRM_HA_PROCESS_DEREG_CONFIRM_INTERVAL_IN_MSECS
static bool prm_optimizer_reserve_12_default
#define ER_DISK_UNKNOWN_SECTOR
int PRM_MAX_ENTRIES_IN_TEMP_FILE_CACHE
#define PRM_NAME_HA_REPL_FILTER_FILE
static unsigned int prm_ha_copy_log_max_archives_flag
int * PRM_CALL_STACK_DUMP_ACTIVATION
static int prm_pb_num_private_chains_default
static int prm_er_stop_on_error_default
static unsigned int prm_ha_unacceptable_proc_restart_timediff_flag
int PRM_THREAD_CONNECTION_TIMEOUT_SECONDS
#define MAX_NUM_OF_PRM_FILES_LOADED
static int prm_pb_sync_on_nflush_default
static unsigned int prm_io_backup_sleep_msecs_flag
char * ustr_upper(char *s)
static bool prm_update_use_attribute_references_default
bool PRM_USE_BTREE_FENCE_KEY
#define GET_PRM_DYNAMIC_FLAG(id)
static unsigned int prm_tcp_rcvbuf_size_flag
int PRM_HA_REPLICA_DELAY_IN_SECS
#define PRM_NAME_SORT_LIMIT_MAX_COUNT
static int prm_read_and_parse_ini_file(const char *prm_file_name, const char *db_name, const bool reload, const int load_flags)
static int prm_index_scan_key_buffer_pages_default
#define ER_LOG_REDO_INTERFACE
static bool prm_ws_memory_report_default
static char * prm_intl_date_lang_default
#define LANG_GET_BINARY_COLLATION(c)
int PRM_HA_COPY_LOG_TIMEOUT
#define PRM_NAME_DISK_LOGGING
#define PRM_NAME_UNLOADDB_LOCK_TIMEOUT
#define ER_LOG_MAYNEED_MEDIA_RECOVERY
#define PRM_NAME_HA_PROCESS_START_CONFIRM_INTERVAL_IN_MSECS
int PRM_MAX_PAGES_IN_TEMP_FILE_CACHE
static unsigned int prm_ha_max_process_start_confirm_flag
static const char * compat_mode_values_PRM_REQUIRE_LIKE_ESCAPE_CHARACTER[COMPAT_ORACLE+2]
#define ER_DESC_ISCAN_ABORTED
static int prm_lk_escalation_at_lower
bool intl_String_validation
static unsigned int prm_timezone_flag
int sysprm_get_force_server_parameters(SYSPRM_ASSIGN_VALUE **change_values)
#define ER_DISK_UNKNOWN_PAGE
bool PRM_ACCESS_IP_CONTROL
#define PRM_NAME_LOG_NO_LOGGING
#define HB_DEFAULT_UNACCEPTABLE_PROC_RESTART_TIMEDIFF_IN_MSECS
#define PRM_NAME_USE_BTREE_FENCE_KEY
static int prm_io_backup_sleep_msecs_default
static bool prm_optimizer_enable_aggregate_optimization_default
#define PRM_NAME_IO_BACKUP_SLEEP_MSECS
static int prm_max_outer_card_of_idxjoin_lower
static char * prm_timezone_default
static unsigned int prm_test_mode_flag
#define BO_IS_SERVER_RESTARTED()
static int prm_ha_init_timer_im_msecs_default
static unsigned int prm_lk_rollback_on_lock_escalation_flag
#define PRM_NAME_ER_EXIT_ASK
unsigned int PRM_PB_NEIGHBOR_FLUSH_PAGES
#define PRM_IS_DEPRECATED(x)
static unsigned int prm_perf_test_mode_flag
static int prm_er_log_level_lower
const char * PRM_HA_DB_LIST
#define HA_SERVER_STATE_IDLE_STR
static unsigned int prm_db_volume_size_flag
#define PRM_NAME_THREAD_CONNECTION_TIMEOUT_SECONDS
bool PRM_PB_SEQUENTIAL_VICTIM_FLUSH
#define PRM_ADJUST_FOR_SET_INTEGER_TO_INTEGER(prm, out_val, in_val, err)
static unsigned int prm_debug_logwr_flag
static bool prm_fault_injection_action_prefer_abort_to_exit_default
static unsigned int prm_java_stored_procedure_port_flag
#define PRM_NAME_ACCESS_IP_CONTROL
static unsigned int prm_ha_delay_limit_delta_in_secs_flag
static unsigned int prm_log_checkpoint_sleep_msecs_flag
int PRM_HF_MAX_BESTSPACE_ENTRIES
static unsigned int prm_hostvar_late_binding_flag
static void sysprm_update_flag_different(SYSPRM_PARAM *prm)
int sysprm_set_force(const char *pname, const char *pvalue)
static unsigned int prm_intl_collation_flag
static int prm_ha_process_dereg_confirm_interval_in_msecs_default
static bool prm_er_log_debug_default
static unsigned int prm_optimizer_reserve_15_flag
int util_size_string_to_byte(UINT64 *size_num, const char *size_str)
#define PRM_NAME_OPTIMIZER_RESERVE_06
#define PRM_NAME_HA_INIT_TIMER_IN_MSECS
static unsigned int prm_force_restart_to_skip_recovery_flag
#define ER_FILE_TABLE_CORRUPTED
int sysprm_packed_assign_values_length(const SYSPRM_ASSIGN_VALUE *assign_values, int offset)
#define PRM_NAME_LK_TIMEOUT_MESSAGE_DUMP_LEVEL
static unsigned int prm_access_ip_control_flag
static int prm_list_max_query_cache_pages_upper
static const char * prm_ha_repl_filter_file_default
#define PRM_NAME_BLOCK_DDL_STATEMENT
bool PRM_BLOCK_DDL_STATEMENT
static unsigned int prm_dwb_size_lower
#define PRM_NAME_CTE_MAX_RECURSIONS
int PRM_HA_MODE_FOR_SA_UTILS_ONLY
#define PRM_NAME_STATS_ON
static int prm_ha_port_id_default
static unsigned int prm_bt_index_scan_oid_order_flag
bool PRM_UNICODE_INPUT_NORMALIZATION
static unsigned int prm_max_recursion_sql_depth_flag
unsigned int * dynamic_flag
#define PRM_NAME_ER_LOG_VACUUM
bool PRM_OPTIMIZER_RESERVE_05
static unsigned int prm_log_pgbuf_victim_flush_flag
bool PRM_AGG_HASH_RESPECT_ORDER
static const char * compat_mode_values_PRM_PIPES_AS_CONCAT[COMPAT_ORACLE+2]
static UINT64 prm_ib_task_memsize_default
static unsigned int prm_service_service_list_flag
static int prm_pb_nbuffers_default
#define HB_DEFAULT_APPLY_MAX_MEM_SIZE
#define PRM_NAME_ENABLE_HISTO
void xsysprm_obtain_server_parameters(SYSPRM_ASSIGN_VALUE *prm_values)
static unsigned int prm_unloaddb_lock_timeout_flag
static int prm_load_by_section(INI_TABLE *ini, const char *section, bool ignore_section, bool reload, const char *file, const int load_flags)
bool PRM_ADD_COLUMN_UPDATE_HARD_DEFAULT
static int prm_max_entries_in_temp_file_cache_lower
static unsigned int prm_ha_applylogdb_log_wait_time_in_secs_flag
static int prm_json_max_array_idx_upper
#define PRM_NAME_UNICODE_INPUT_NORMALIZATION
static bool prm_object_print_format_oid_default
static int prm_log_checkpoint_npages_lower
#define ER_TF_BUFFER_OVERFLOW
#define SYSPRM_LOAD_IS_IGNORE_INTL(flags)
static unsigned int prm_optimizer_enable_merge_join_flag
#define PRM_NAME_LOG_CHECKPOINT_INTERVAL
#define PRM_ADJUST_FOR_SET_BIGINT_TO_BIGINT(prm, out_val, in_val, err)
static int prm_list_max_query_cache_pages_default
int PRM_MULTI_RANGE_OPT_LIMIT
#define PRM_NAME_EVENT_HANDLER
int PRM_MAX_FLUSH_PAGES_PER_SECOND
#define PRM_NAME_FORCE_RESTART_TO_SKIP_RECOVERY
static bool prm_use_btree_fence_key_default
#define PRM_NAME_LOG_CHECKPOINT_SLEEP_MSECS
#define PRM_NAME_VACUUM_MASTER_WAKEUP_INTERVAL
static unsigned int prm_sort_limit_max_count_flag
static unsigned int prm_log_trace_debug_flag
int lang_get_lang_id_from_name(const char *lang_name, INTL_LANG *lang_id)
static unsigned int prm_log_chkpt_detailed_flag
#define ER_LOG_PAGE_CORRUPTED
static bool prm_enable_dwb_flush_thread_default
#define HA_LOG_APPLIER_STATE_UNREGISTERED_STR
static unsigned int prm_call_stack_dump_activation_flag
static UINT64 prm_max_hash_list_scan_size_default
static int prm_log_nbuffers_default
static unsigned int prm_page_bg_flush_interval_msec_flag
static unsigned int prm_log_query_lists_flag
#define PRM_NAME_TIMEZONE
static unsigned int prm_ha_repl_filter_type_flag
static int prm_list_max_query_cache_entries_default
UINT64 PRM_GENERIC_VOL_PREALLOC_SIZE
static int prm_fault_injection_test_default
bool PRM_DEBUG_AUTOCOMMIT
static int prm_log_trace_flush_time_msecs_lower
static unsigned int prm_use_system_malloc_flag
#define PRM_CLEAR_BIT(this, here)
int parse_int(int *ret_p, const char *str_p, int base)
static char * prm_io_temp_volume_path_default
static unsigned int prm_bt_oid_nbuffers_flag
static int prm_page_bg_flush_interval_msec_default
static int prm_temp_mem_buffer_pages_lower
#define PRM_NAME_HA_PING_HOSTS
#define PRM_HAS_TIME_UNIT(x)
const TZ_DATA * tz_get_data(void)
static int sysprm_load_and_init_internal(const char *db_name, const char *conf_file, bool reload, const int load_flags)
static const char ** compat_mode_values[]
static unsigned int prm_log_btree_ops_flag
#define PRM_NAME_ADD_COLUMN_UPDATE_HARD_DEFAULT
#define PRM_IS_KEYWORD(x)
static bool prm_optimizer_reserve_03_default
static int prm_json_max_array_idx_lower
int PRM_HA_HEARTBEAT_INTERVAL_IN_MSECS
static const char * prm_access_ip_control_file_default
#define PRM_ADJUST_FOR_SET_FLOAT_TO_FLOAT(prm, out_val, in_val, err)
static int prm_temp_mem_buffer_pages_default
static bool prm_hostvar_late_binding_default
static int prm_css_max_clients_default
#define ER_BTREE_UNKNOWN_KEY
static bool prm_optimizer_reserve_02_default
#define HB_DEFAULT_MAX_PROCESS_DEREG_CONFIRM
#define PRM_NAME_OPTIMIZER_RESERVE_05
static int prm_pb_debug_page_validation_level_default
int PRM_XASL_CACHE_MAX_ENTRIES
static int prm_multi_range_opt_limit_lower
static int prm_ha_applylogdb_max_commit_interval_in_msecs_default
bool PRM_FORCE_RESTART_TO_SKIP_RECOVERY
static int prm_sr_nbuffers_lower
static bool prm_log_chkpt_detailed_default
static int prm_ha_applylogdb_log_wait_time_in_secs_default
static int prm_tcp_sndbuf_size_default
static unsigned int prm_insert_mode_flag
#define HB_DEFAULT_DEREG_CONFIRM_INTERVAL_IN_MSECS
static unsigned int prm_loaddb_flush_interval_flag
bool PRM_JSON_LOG_ALLOCATIONS
SESSION_PARAM * session_get_session_parameter(THREAD_ENTRY *thread_p, PARAM_ID id)
bool PRM_LOG_PGBUF_VICTIM_FLUSH
static unsigned int prm_intl_check_input_string_flag
#define PRM_ADJUST_FOR_GET_FLOAT_TO_FLOAT(prm, out_val, in_val, err)
static bool prm_log_trace_debug_default
static int prm_io_backup_nbuffers_lower
static int prm_java_stored_procedure_port_lower
static unsigned int prm_ha_applylogdb_max_commit_interval_in_msecs_flag
#define PRM_NAME_IO_TEMP_VOLUME_PATH
#define PRM_NAME_ENABLE_NEW_LFHASH
#define PRM_NAME_FAULT_INJECTION_TEST
const char * PRM_HA_REPL_FILTER_FILE
#define PRM_NAME_HA_DELAY_LIMIT
static int prm_ha_copy_log_timeout_lower
int sysprm_set_error(SYSPRM_ERR rc, const char *data)
#define PRM_NAME_ORACLE_STYLE_OUTERJOIN
static void sysprm_set_system_parameter_value(SYSPRM_PARAM *prm, SYSPRM_VALUE value)
static unsigned int prm_hf_unfill_factor_flag
#define PRM_NAME_HOSTVAR_LATE_BINDING
static unsigned int prm_max_agg_hash_size_flag
#define ER_CT_UNKNOWN_REPRID
#define PRM_NAME_TDE_DEFAULT_ALGORITHM
int PRM_XASL_CACHE_MAX_CLONES
static int prm_ha_log_applier_state_lower
char * or_pack_string(char *ptr, const char *string)
bool PRM_OPTIMIZER_ENABLE_AGGREGATE_OPTIMIZATION
#define PRM_NAME_ONLY_FULL_GROUP_BY
#define PRM_NAME_UNICODE_OUTPUT_NORMALIZATION
PGBUF_DEBUG_PAGE_VALIDATION_LEVEL
bool PRM_OPTIMIZER_RESERVE_07
static int prm_ha_applylogdb_max_commit_interval_in_msecs_lower
static int prm_unloaddb_lock_timeout_lower
#define PRM_NAME_BT_OID_BUFFER_SIZE
static int prm_pb_nbuffers_lower
static unsigned int prm_java_stored_procedure_flag
bool PRM_XASL_CACHE_LOGGING
static unsigned int prm_use_orderby_sort_limit_flag
static bool prm_general_reserve_01_default
bool PRM_OPTIMIZER_RESERVE_15
static unsigned int prm_replication_mode_flag
int PRM_HA_CHECK_DISK_FAILURE_INTERVAL_IN_SECS
static unsigned int prm_object_print_format_oid_flag
bool PRM_NO_BACKSLASH_ESCAPES
static float prm_hf_unfill_factor_default
static const bool prm_postpone_debug_default
int PRM_THREAD_WORKER_TIMEOUT_SECONDS
#define assert_release(e)
int session_set_session_parameters(THREAD_ENTRY *thread_p, SESSION_PARAM *session_parameters)
static int prm_shutdown_wait_time_in_secs_default
static unsigned int prm_xasl_cache_max_clones_flag
static void prm_report_bad_entry(const char *key, int line, int err, const char *where)
static int prm_week_format_upper
int tz_resolve_os_timezone(char *timezone, int buf_len)
static unsigned int prm_bosr_maxtmp_flag
bool PRM_DEBUG_LOG_ARCHIVES
#define PRM_NAME_DEFAULT_WEEK_FORMAT
#define PRM_NAME_INTL_NUMBER_LANG
static unsigned int prm_unloaddb_ignore_error_flag
#define PRM_NAME_OPTIMIZER_RESERVE_03
#define PRM_NAME_HA_MAX_HEARTBEAT_GAP
static int prm_xasl_cache_time_threshold_in_minutes_upper
static bool prm_java_stored_procedure_default
static bool prm_log_query_lists_default
#define PRM_NAME_CALL_STACK_DUMP_DEACTIVATION
static bool prm_read_only_mode_default
void tz_set_tz_region_system(const TZ_REGION *tz_region)
int util_byte_to_size_string(char *buf, size_t len, UINT64 size_num)
int ini_seccmp(const char *key1, const char *key2)
static UINT64 prm_log_volume_size_default
bool PRM_CSQL_AUTO_COMMIT
static bool prm_gc_enable_default
static unsigned int prm_pb_lru_buffer_ratio_flag
#define PRM_IS_RELOADABLE(x)
static int prm_ha_copy_log_timeout_default
static unsigned int prm_gc_enable_flag
static const bool prm_compensate_debug_default
static void prm_tune_parameters(void)
static unsigned int prm_pb_aout_ratio_flag
#define PRM_NAME_LK_ESCALATION_AT
#define PRM_NAME_THREAD_CONNECTION_POOLING
static unsigned int prm_log_media_failure_support_flag
#define PRM_IS_DIFFERENT(x)
bool PRM_INTL_MBS_SUPPORT
bool PRM_LOGPB_LOGGING_DEBUG
#define ER_PARTITION_NOT_EXIST
const char * PRM_SERVICE_SERVER_LIST
#define PRM_NAME_CLIENT_CLASS_CACHE_DEBUG
#define PRM_NAME_FILTER_PRED_MAX_CACHE_ENTRIES
static int num_session_parameters
static unsigned int prm_tcp_nodelay_flag
static int prm_css_max_clients_upper
#define PRM_NAME_FORCE_REMOVE_LOG_ARCHIVES
int PRM_HA_UNACCEPTABLE_PROC_RESTART_TIMEDIFF
#define PRM_NAME_DWB_SIZE
static bool prm_dont_reuse_heap_file_default
static const char * prm_ha_db_list_default
static int prm_week_format_default
#define PRM_NAME_OPTIMIZER_RESERVE_17
bool PRM_OPTIMIZER_RESERVE_13
static int prm_ha_copy_log_max_archives_upper
static float prm_pb_lru_hot_ratio_default
static unsigned int prm_tcp_sndbuf_size_flag
#define PRM_NAME_CONNECTION_LOGGING
static bool prm_debug_logwr_default
static int prm_pb_sync_on_nflush_upper
static UINT64 prm_max_agg_hash_size_upper
static unsigned int prm_check_peer_alive_flag
static unsigned int prm_debug_bestspace_flag
static int prm_xasl_cache_time_threshold_in_minutes_default
static unsigned int prm_event_activation_flag
static bool prm_access_ip_control_default
#define PRM_NAME_PAGE_BG_FLUSH_INTERVAL
static unsigned int prm_ha_init_timer_im_msecs_flag
int PRM_SHUTDOWN_WAIT_TIME_IN_SECS
static int prm_io_backup_nbuffers_default
#define PRM_NAME_HA_APPLY_MAX_MEM_SIZE
static bool prm_compat_numeric_division_scale_default
#define PRM_NAME_READ_ONLY_MODE
#define PRM_NAME_TZ_LEAP_SECOND_SUPPORT
#define PRM_NAME_HA_REPL_ENABLE_SERVER_SIDE_UPDATE
static bool prm_optimizer_reserve_05_default
#define PRM_NAME_LOADDB_FLUSH_INTERVAL
#define PRM_NAME_HA_SQL_LOG_MAX_SIZE_IN_MB
static unsigned int prm_er_log_size_flag
static int prm_er_stop_on_error_upper
char * sysprm_pack_assign_values(char *ptr, const SYSPRM_ASSIGN_VALUE *assign_values)
static const char sysprm_ha_conf_file_name[]
char * PRM_SERVER_TIMEZONE
static unsigned int prm_compactdb_page_reclaim_only_flag
static const char sysprm_error_log_file[]
static int prm_index_scan_key_buffer_pages_lower
static const char * prm_er_log_file_default
static bool * prm_call_stack_dump_activation_default
#define HB_MIN_DIFF_CHECK_DISK_FAILURE_INTERVAL_IN_SECS
static bool * prm_ha_applylogdb_retry_error_list_default
static int prm_compat_mode_default
static bool prm_plus_as_concat_default
#define PRM_NAME_HA_APPLYLOGDB_MAX_COMMIT_INTERVAL
#define PARAM_MSG_FMT(msgid)
#define PRM_NAME_IB_TASK_MEMSIZE
static unsigned int prm_loaddb_workers_flag
static unsigned int prm_max_hash_list_scan_size_flag
char * or_unpack_string_nocopy(char *ptr, char **string)
#define PRM_NAME_LOG_NBUFFERS
static int prm_csql_history_num_default
#define HB_DEFAULT_CALC_SCORE_INTERVAL_IN_MSECS
static bool prm_log_pgbuf_victim_flush_default
#define PRM_NAME_PB_SYNC_ON_NFLUSH
#define PRM_NAME_EXAMINE_CLIENT_CACHED_LOCKS
void ini_parser_free(INI_TABLE *ini)
static UINT64 prm_string_max_size_bytes_lower
static int prm_sort_limit_max_count_default
static unsigned int prm_lk_timeout_message_dump_level_flag
const char * PRM_IO_VOLUME_EXT_PATH
static bool prm_optimizer_reserve_07_default
int util_time_string_to_msec(INT64 *msec_num, char *time_str)
static unsigned int prm_dl_fork_flag
static unsigned int prm_ha_port_id_flag
static bool prm_only_full_group_by_default
static unsigned int prm_adaptive_flush_control_flag
bool PRM_DEBUG_REPLICATION_DATA
static unsigned int prm_postpone_debug_flag
int PRM_LIST_QUERY_CACHE_MODE
static unsigned int prm_ha_heartbeat_interval_in_msecs_flag
int PRM_THREAD_LOGGING_FLAG
static int prm_tcp_connection_timeout_lower
static unsigned int prm_pb_nbuffers_flag
static int prm_suppress_fsync_upper
static unsigned int prm_read_only_mode_flag
#define PRM_NAME_LOG_BACKGROUND_ARCHIVING
static unsigned int prm_ha_replica_list_flag
#define ER_IO_FORMAT_BAD_NPAGES
static unsigned int prm_general_reserve_01_flag
static unsigned int prm_list_query_cache_mode_flag
int PRM_LOG_CHECKPOINT_SLEEP_MSECS
static int prm_er_log_size_lower
#define PRM_NAME_MUTEX_BUSY_WAITING_CNT
#define PRM_NAME_LK_ROLLBACK_ON_LOCK_ESCALATION
static bool prm_unique_error_key_value_default
static float prm_lk_run_deadlock_interval_lower
#define PRM_GET_BIGINT(x)
#define PRM_NAME_LOGPB_LOGGING_DEBUG
const char * PRM_HA_PING_HOSTS
#define PRM_NAME_OPTIMIZER_RESERVE_16
void sysprm_free_assign_values(SYSPRM_ASSIGN_VALUE **assign_values_ptr)
static unsigned int prm_ha_process_dereg_confirm_interval_in_msecs_flag
static unsigned int prm_ha_copy_sync_mode_flag
#define ER_TF_BUFFER_UNDERFLOW
static unsigned int prm_dwb_size_default
static unsigned int prm_debug_autocommit_flag
int PRM_HA_PROCESS_START_CONFIRM_INTERVAL_IN_MSECS
#define PRM_IS_INTEGER_LIST(x)
static bool prm_bt_index_scan_oid_order_default
int sysprm_load_and_init_client(const char *db_name, const char *conf_file)
SYSPRM_ERR sysprm_obtain_parameters(char *data, SYSPRM_ASSIGN_VALUE **prm_values_ptr)
int css_get_max_socket_fds(void)
static unsigned int prm_er_log_vacuum_flag
int util_msec_to_time_string(char *buf, size_t len, INT64 msec_num)
INI_TABLE * ini_parser_load(const char *ininame)
static UINT64 prm_db_volume_size_default
bool PRM_SQL_TRACE_EXECUTION_PLAN
static bool prm_lk_rollback_on_lock_escalation_default
static int prm_list_max_query_cache_entries_upper
#define PRM_NAME_EXTENDED_STATISTICS_ACTIVATION
int sysprm_init_intl_param(void)
float PRM_BT_UNFILL_FACTOR
static int prm_ha_repl_filter_type_default
static int prm_sql_trace_slow_msecs_upper
static bool prm_allow_truncated_string_default
static bool prm_er_production_mode_default
int PRM_HA_MAX_PROCESS_DEREG_CONFIRM
static unsigned int prm_log_trace_flush_time_msecs_flag
#define PRM_NAME_DWB_LOGGING
#define ER_FILE_ALLOC_NOPAGES
#define PRM_NAME_XASL_CACHE_MAX_CLONES
static int prm_log_checkpoint_interval_secs_lower
#define PRM_NAME_BOSR_MAXTMP_PAGES
static int prm_ha_check_disk_failure_interval_in_secs_default
#define PRM_NAME_LOG_COMPRESS
#define PRM_NAME_HA_DB_LIST
static bool prm_log_no_logging_default
static KEYVAL ha_log_applier_state_words[]
static int prm_ha_delay_limit_in_secs_upper
static bool prm_repr_cache_log_default
static unsigned int prm_ignore_trailing_space_flag
static bool prm_tcp_nodelay_default
static bool prm_unicode_output_normalization_default
static int prm_set(SYSPRM_PARAM *prm, const char *value, bool set_flag)
#define PRM_NAME_HA_PORT_ID
void prm_set_integer_value(PARAM_ID prm_id, int value)
static int prm_filter_pred_max_cache_entries_default
#define PRM_NAME_SORT_BUFFER_SIZE
int PRM_HA_DELAY_LIMIT_DELTA_IN_SECS
#define PRM_NAME_OPTIMIZER_RESERVE_10
static unsigned int prm_xasl_cache_time_threshold_in_minutes_flag
#define PRM_NAME_LOG_ISOLATION_LEVEL
#define PRM_NAME_TB_DEFAULT_REUSE_OID
static unsigned int prm_unicode_input_normalization_flag
float PRM_LK_RUN_DEADLOCK_INTERVAL
#define ER_PRM_CANNOT_CHANGE
static unsigned int prm_filter_pred_max_cache_clones_flag
static bool prm_no_backslash_escapes_default
#define PRM_NAME_COMPAT_PRIMARY_KEY
#define PRM_NAME_OPTIMIZER_RESERVE_12
static unsigned int prm_pipes_as_concat_flag
static int prm_log_checkpoint_interval_secs_default
static unsigned int prm_track_requests_flag
static int prm_hf_max_bestspace_entries_default
static unsigned int prm_ha_node_list_flag
static unsigned int prm_cfg_db_hosts_flag
static bool prm_debug_es_default
bool PRM_UNICODE_OUTPUT_NORMALIZATION
static int prm_lk_max_scanid_bit_default
#define HA_LOG_APPLIER_STATE_WORKING_STR
UINT64 PRM_IO_BACKUP_MAX_VOLUME_SIZE
static int prm_sort_limit_max_count_lower
#define PRM_NAME_LK_TIMEOUT_SECS
#define PRM_NAME_JAVA_STORED_PROCEDURE_JVM_OPTIONS
static unsigned int prm_pthread_scope_process_flag
#define PRM_NAME_TCP_KEEPALIVE
#define ER_CT_INVALID_REPRID
static unsigned int prm_block_nowhere_statement_flag
#define PRM_NAME_HA_COPY_LOG_TIMEOUT
static unsigned int prm_ha_copy_log_base_flag
#define PRM_NAME_TRACK_REQUESTS
#define HA_MODE_FAIL_BACK_STR
static int prm_check_parameters(void)
static int prm_ha_port_id_lower
#define PRM_NAME_SERVICE_SERVER_LIST
static float prm_bt_oid_nbuffers_upper
static float prm_bt_oid_nbuffers_default
#define PRM_NAME_LOG_UNIQUE_STATS
static int prm_ha_sql_log_max_size_in_mb_lower
const char * PRM_ER_LOG_FILE
#define PRM_NAME_LOG_BTREE_OPS
#define PRM_NAME_OPTIMIZER_RESERVE_20
static unsigned int prm_optimizer_reserve_20_flag
bool PRM_LOG_CHKPT_DETAILED
static unsigned int prm_pb_neighbor_flush_pages_upper
static unsigned int prm_ha_calc_score_interval_in_msecs_flag
void prm_set_integer_list_value(PARAM_ID prm_id, int *value)
static unsigned int prm_pb_debug_page_validation_level_flag
static unsigned int prm_log_isolation_level_flag
#define HB_DEFAULT_MAX_PROCESS_START_CONFIRM
static bool prm_debug_bestspace_default
static bool prm_optimizer_reserve_20_default
static bool prm_log_sweep_clean_default
static void prm_set_compound(SYSPRM_PARAM *param, const char **compound_param_values[], const int values_count, bool set_flag)
bool PRM_OBJECT_PRINT_FORMAT_OID
static int prm_log_isolation_level_upper
char * sysprm_pack_session_parameters(char *ptr, SESSION_PARAM *session_parameters)
int PRM_WS_HASHTABLE_SIZE
static float prm_pb_lru_hot_ratio_lower
#define HB_DEFAULT_START_CONFIRM_INTERVAL_IN_MSECS
bool PRM_LOG_BACKGROUND_ARCHIVING
static int prm_er_log_size_default
static unsigned int prm_access_ip_control_file_flag
bool PRM_USE_STAT_ESTIMATION
float PRM_PB_LRU_HOT_RATIO
static int prm_ha_sql_log_max_size_in_mb_default
int PRM_FILTER_PRED_MAX_CACHE_ENTRIES
#define PRM_NAME_ER_LOG_LEVEL
#define SYSPRM_LOAD_IS_IGNORE_HA(flags)
static bool prm_query_trace_default
static unsigned int prm_dwb_blocks_flag
static unsigned int prm_plus_as_concat_flag
static unsigned int prm_server_timezone_flag
#define PRM_NAME_LIST_MAX_QUERY_CACHE_PAGES
static int prm_max_entries_in_temp_file_cache_default
bool PRM_PB_NEIGHBOR_FLUSH_NONDIRTY
static unsigned int prm_hf_max_bestspace_entries_flag
static bool prm_debug_autocommit_default
static unsigned int prm_er_exit_ask_flag
static unsigned int prm_sql_trace_ioreads_flag
static bool prm_thread_worker_pooling_default
#define PRM_NAME_MULTI_RANGE_OPT_LIMIT
void * prm_get_value(PARAM_ID prm_id)
static int prm_ha_replica_delay_in_secs_upper
static bool * prm_call_stack_dump_deactivation_default
static unsigned int prm_return_null_on_function_errors_flag
int PRM_REMOVE_LOG_ARCHIVES_INTERVAL
static const char * prm_ha_ping_hosts_default
static UINT64 prm_ddl_audit_log_size_default
#define PRM_NAME_OPTIMIZER_RESERVE_02
static unsigned int prm_agg_hash_respect_order_flag
#define TZ_GENERIC_NAME_SIZE
char * intl_mbs_ncpy(char *mbs1, const char *mbs2, size_t n)
static unsigned int prm_debug_replication_data_flag
#define PRM_NAME_ER_STOP_ON_ERROR
static int prm_multi_range_opt_limit_default
int PRM_JSON_MAX_ARRAY_IDX
#define PRM_NAME_TEST_MODE
static int prm_list_query_cache_mode_upper
static unsigned int prm_thread_worker_timeout_seconds_flag
#define PRM_NAME_OPTIMIZER_RESERVE_07
#define PRM_NAME_PB_NUM_PRIVATE_CHAINS
#define PRM_NAME_PTHREAD_SCOPE_PROCESS
static unsigned int prm_er_log_level_flag
static int prm_page_bg_flush_interval_msec_lower
bool PRM_BLOCK_NOWHERE_STATEMENT
#define PRM_NAME_HA_CHANGEMODE_INTERVAL_IN_MSEC
int PRM_HA_APPLY_MAX_MEM_SIZE
int PRM_FAULT_INJECTION_TEST
static bool prm_mysql_trigger_correlation_names_default
static unsigned int prm_ha_replica_time_bound_flag
#define PRM_NAME_CALL_STACK_DUMP_ON_ERROR
static unsigned int prm_optimizer_reserve_18_flag
int PRM_LIST_MAX_QUERY_CACHE_ENTRIES
#define PRM_NAME_HF_UNFILL_FACTOR
UINT64 PRM_MAX_AGG_HASH_SIZE
static bool prm_pb_neighbor_flush_nondirty_default
static unsigned int prm_allow_truncated_string_flag
static bool prm_use_stat_estimation_default
static unsigned int prm_dont_reuse_heap_file_flag
static int prm_log_checkpoint_sleep_msecs_lower
void sysprm_tune_client_parameters(void)
#define ER_PB_UNFIXED_PAGEPTR
static int prm_compat_mode_upper
static UINT64 prm_io_backup_max_volume_size_upper
static int prm_ha_replica_delay_in_secs_lower
const char * lang_get_collation_name(const int coll_id)
#define PRM_NAME_DDL_AUDIT_LOG
static int prm_vacuum_worker_count_default
static bool prm_sql_trace_execution_plan_default
#define PRM_NAME_REPLICATION_MODE
TZ_REGION * session_get_session_tz_region(THREAD_ENTRY *thread_p)
#define PRM_NAME_THREAD_LOGGING_FLAG
#define PRM_NAME_TCP_PORT_ID
static unsigned int prm_disk_logging_flag
char * or_pack_int64(char *ptr, INT64 number)
static int prm_ws_hashtable_size_lower
#define PRM_NAME_USE_ORDERBY_SORT_LIMIT
static unsigned int prm_thread_connection_timeout_seconds_flag
#define PRM_PRINT_QRY_STRING(id)
int css_set_accessible_ip_info(void)
static unsigned int prm_string_max_size_bytes_flag
static float prm_hf_unfill_factor_lower
UINT64 prm_get_bigint_value(PARAM_ID prm_id)
#define PRM_NAME_LOG_ASYNC_COMMIT
static int prm_ha_max_process_start_confirm_default
bool PRM_OPTIMIZER_RESERVE_14
#define PRM_NAME_OPTIMIZER_ENABLE_AGGREGATE_OPTIMIZATION
static unsigned int prm_ha_max_heartbeat_gap_flag
static bool prm_thread_connection_pooling_default
static unsigned int prm_debug_es_flag
#define PRM_NAME_AUTO_RESTART_SERVER
const char * PRM_HA_COPY_LOG_BASE
#define PRM_IS_COMPOUND(x)
#define PRM_NAME_HA_SQL_LOGGING
const char * PRM_JAVA_STORED_PROCEDURE_JVM_OPTIONS
static int prm_fault_injection_test_upper
static UINT64 prm_group_concat_max_len_default
static unsigned int prm_tde_default_algorithm_flag
static unsigned int prm_ha_sql_logging_flag
#define PRM_ADJUST_FOR_SET_BIGINT_TO_FLOAT(prm, out_val, in_val, err)
static unsigned int prm_force_remove_log_archives_flag
static unsigned int prm_block_ddl_statement_flag
static bool prm_oracle_style_empty_string_default
static unsigned int prm_dwb_size_upper
static unsigned int prm_thread_connection_pooling_flag
static unsigned int prm_auto_restart_server_flag
#define PRM_NAME_DATA_FILE_ADVISE
char * or_pack_float(char *ptr, float number)
static float prm_like_term_selectivity_upper
static int prm_ha_mode_default
static int prm_xasl_cache_max_entries_default
#define PRM_NAME_SHUTDOWN_WAIT_TIME_IN_SECS
void er_set(int severity, const char *file_name, const int line_no, int err_id, int num_args,...)
bool PRM_HEAP_INFO_CACHE_LOGGING
static unsigned int prm_debug_log_archives_flag
static int prm_cte_max_recursions_default
static UINT64 prm_ddl_audit_log_size_lower
static int prm_pb_num_private_chains_lower
bool PRM_CALL_STACK_DUMP_ON_ERROR
static unsigned int prm_io_backup_max_volume_size_flag
static bool prm_auto_restart_server_default
static unsigned int prm_optimizer_reserve_16_flag
static unsigned int prm_sql_trace_slow_msecs_flag
#define PRM_IS_FOR_HA_CONTEXT(x)
static unsigned int prm_log_checkpoint_npages_flag
static KEYVAL pgbuf_debug_page_validation_level_words[]
static bool prm_force_restart_to_skip_recovery_default
int PRM_TDE_DEFAULT_ALGORITHM
bool PRM_OPTIMIZER_RESERVE_18
#define PRM_NAME_WS_MEMORY_REPORT
static unsigned int prm_dbfiles_protect_flag
static char * prm_tde_keys_file_path_default
static int prm_ha_failover_wait_time_in_msecs_default
#define PRM_NAME_OPTIMIZER_RESERVE_11
static bool prm_test_mode_default
static bool prm_log_background_archiving_default
static int prm_cte_max_recursions_lower
static int prm_pb_num_LRU_chains_upper
static unsigned int prm_ws_hashtable_size_flag
static float prm_pb_lru_hot_ratio_upper
static int prm_ha_sql_log_max_size_in_mb_upper
static int prm_ha_log_applier_state_upper
bool PRM_FAULT_INJECTION_ACTION_PREFER_ABORT_TO_EXIT
#define PRM_NAME_PB_BUFFER_FLUSH_RATIO
static unsigned int prm_thread_worker_pooling_flag
static SYSPRM_PARAM * prm_find(const char *pname, const char *section)
static UINT64 prm_ib_task_memsize_lower
static unsigned int prm_fault_injection_action_prefer_abort_to_exit_flag
#define PRM_NAME_ADAPTIVE_FLUSH_CONTROL
int PRM_XASL_CACHE_TIME_THRESHOLD_IN_MINUTES
static unsigned int prm_enable_histo_flag
#define PRM_NAME_ORACLE_STYLE_EMPTY_STRING
#define PRM_NAME_HA_MAX_PROCESS_DEREG_CONFIRM
static SYSPRM_ERR sysprm_validate_escape_char_parameters(const SYSPRM_ASSIGN_VALUE *assignment_list)
#define ER_LK_PAGE_TIMEOUT
#define PRM_FOR_HA_CONTEXT
static unsigned int prm_require_like_escape_character_flag
static int prm_ha_delay_limit_delta_in_secs_upper
static unsigned int prm_ansi_quotes_flag
static unsigned int prm_log_group_commit_interval_msecs_flag
bool PRM_JAVA_STORED_PROCEDURE_RESERVE_01
#define PRM_NAME_JSON_LOG_ALLOCATIONS
UINT64 PRM_MAX_HASH_LIST_SCAN_SIZE
static unsigned int prm_tde_keys_file_path_flag
FI_TEST_CODE * fi_Groups[FI_GROUP_MAX+1]
void sysprm_set_er_log_file(const char *db_name)
const char * PRM_SERVICE_SERVICE_LIST
int or_packed_string_length(const char *string, int *strlen)
static int prm_thread_connection_timeout_seconds_default
static int prm_thread_worker_timeout_seconds_upper
int PRM_PB_NUM_LRU_CHAINS
#define ASSERT_ALIGN(ptr, alignment)
static unsigned int prm_stats_on_flag
static unsigned int prm_alter_table_change_type_strict_flag
#define PRM_NAME_USE_SYSTEM_MALLOC
static int prm_fault_injection_test_flag
static int prm_max_pages_in_temp_file_cache_lower
static SYSPRM_ERR sysprm_generate_new_value(SYSPRM_PARAM *prm, const char *value, bool check, SYSPRM_VALUE *new_value)
#define PRM_NAME_SERVICE_SERVICE_LIST
#define PRM_NAME_MNT_WAITING_THREAD
#define PRM_IS_FOR_SESSION(x)
static bool prm_create_table_reuseoid_default
static bool prm_optimizer_reserve_18_default
static unsigned int prm_thread_logging_flag_flag
int prm_get_integer_value(PARAM_ID prm_id)
static int prm_extended_statistics_default
static int prm_size_to_io_pages(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
#define PRM_NAME_LOG_GROUP_COMMIT_INTERVAL_MSECS
static int prm_data_file_advise_default
static unsigned int prm_log_compress_flag
#define PRM_NAME_MAX_FLUSH_SIZE_PER_SECOND
static int prm_vacuum_master_wakeup_interval_default
static int prm_ha_repl_filter_type_upper
static unsigned int prm_extended_statistics_flag
bool PRM_ENABLE_DWB_FLUSH_THREAD
#define PRM_NAME_UPDATE_USE_ATTRIBUTE_REFERENCES
static int prm_tcp_rcvbuf_size_default
int PRM_HA_COPY_LOG_MAX_ARCHIVES
static unsigned int prm_compat_numeric_division_scale_flag
static unsigned int prm_ha_applylogdb_retry_error_list_flag
static int prm_temp_mem_buffer_pages_upper
static void sysprm_update_session_prm_flag_allocated(SESSION_PARAM *prm)
static int prm_ha_applylogdb_max_commit_interval_in_msecs_upper
static char * prm_server_timezone_default
int PRM_INDEX_SCAN_KEY_BUFFER_PAGES
static unsigned int prm_max_pages_in_temp_file_cache_flag
static int prm_loaddb_workers_lower
bool PRM_UNLOADDB_IGNORE_ERROR
#define PRM_NAME_HA_REPLICA_DELAY
static float prm_pb_buffer_flush_ratio_lower
#define ER_PAGE_LATCH_TIMEDOUT
#define HB_DEFAULT_HEARTBEAT_INTERVAL_IN_MSECS
static bool prm_pipes_as_concat_default
static bool prm_ignore_trailing_space_default
static int prm_vacuum_master_wakeup_interval_lower
static int * prm_fault_injection_id_default
#define ER_OUT_OF_VIRTUAL_MEMORY
static bool prm_log_unique_stats_default
static unsigned int prm_enable_dwb_flush_thread_flag
bool PRM_ONLY_FULL_GROUP_BY
static bool prm_block_ddl_statement_default
static UINT64 prm_thread_stacksize_lower
static int prm_tcp_port_id_lower
int PRM_LOG_GROUP_COMMIT_INTERVAL_MSECS
#define ER_HEAP_OVFADDRESS_CORRUPTED
static int prm_io_backup_sleep_msecs_lower
#define PRM_NAME_LIST_MAX_QUERY_CACHE_ENTRIES
#define PRM_NAME_DISABLE_VACUUM
static int prm_insert_mode_default
static unsigned int prm_ha_server_state_flag
#define PRM_NAME_NO_BACKSLASH_ESCAPES
#define HB_DEFAULT_INIT_TIMER_IN_MSECS
static int prm_session_timeout_default
static int prm_ha_log_applier_state_default
#define PRM_GET_INTEGER_LIST(x)
int PRM_DEFAULT_WEEK_FORMAT
bool PRM_DONT_REUSE_HEAP_FILE
static bool prm_optimizer_reserve_06_default
static int prm_remove_log_archives_interval_lower
LANG_COLLATION * lang_get_collation_by_name(const char *coll_name)
#define PRM_NAME_SESSION_STATE_TIMEOUT
static unsigned int prm_xasl_cache_max_entries_flag
static int prm_ha_apply_max_mem_size_upper
char * sysprm_unpack_assign_values(char *ptr, SYSPRM_ASSIGN_VALUE **assign_values_ptr)
static unsigned int prm_json_max_array_idx_flag
#define PRM_NAME_ALTER_TABLE_CHANGE_TYPE_STRICT
#define HA_SERVER_STATE_DEAD_STR
#define PRM_NAME_HA_PROCESS_DEREG_CONFIRM_INTERVAL_IN_MSECS
#define PRM_IS_FOR_CLIENT(x)
static int prm_suppress_fsync_default
static bool prm_pthread_scope_process_default
static int prm_reset_tr_parser_default
int sysprm_load_and_init(const char *db_name, const char *conf_file, const int load_flags)
static int prm_lk_escalation_at_default
static int prm_query_trace_format_default
static int prm_msec_to_sec(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
static int prm_tde_default_algorithm
static unsigned int prm_optimizer_reserve_12_flag
SYSPRM_ASSIGN_VALUE * xsysprm_get_force_server_parameters(void)
int sysprm_packed_session_parameters_length(SESSION_PARAM *session_parameters, int offset)
static bool prm_use_orderby_sort_limit_default
int prm_get_master_port_id(void)
static unsigned int prm_dwb_blocks_default
#define PRM_NAME_LK_RUN_DEADLOCK_INTERVAL
#define PRM_NAME_LIST_QUERY_CACHE_MODE
static int prm_check_range(SYSPRM_PARAM *prm, void *value)
int PRM_SESSION_STATE_TIMEOUT
#define PRM_NAME_MAX_ENTRIES_IN_TEMP_FILE_CACHE
bool PRM_LK_ROLLBACK_ON_LOCK_ESCALATION
static int prm_sql_trace_slow_msecs_lower
#define PRM_NAME_DEBUG_BESTSPACE
#define ER_HA_GENERIC_ERROR
#define HA_SERVER_STATE_MAINTENANCE_STR
#define PRM_NAME_OPTIMIZER_ENABLE_MERGE_JOIN
static bool prm_new_lfhash_default
static int prm_vacuum_log_block_pages_default
int sysprm_print_assign_values(SYSPRM_ASSIGN_VALUE *prm_values, char *buffer, int length)
static UINT64 prm_string_max_size_bytes_default
int PRM_SORT_LIMIT_MAX_COUNT
#define DB_MAX_IDENTIFIER_LENGTH
static bool prm_use_system_malloc_default
static void sysprm_set_sysprm_value_from_parameter(SYSPRM_VALUE *prm_value, SYSPRM_PARAM *prm)
bool PRM_RETURN_NULL_ON_FUNCTION_ERRORS
int str_to_uint64(UINT64 *ret_p, char **end_p, const char *str_p, int base)
#define PRM_NAME_IO_BACKUP_MAX_VOLUME_SIZE
#define PRM_NAME_IO_BACKUP_NBUFFERS
static int prm_multi_range_opt_limit_upper
static unsigned int prm_optimizer_reserve_14_flag
#define PRM_NAME_USE_STAT_ESTIMATION
static unsigned int prm_suppress_fsync_flag
#define PRM_NAME_MYSQL_TRIGGER_CORRELATION_NAMES
int sysprm_check_range(const char *pname, void *value)
int PRM_LOG_TRACE_FLUSH_TIME_MSECS
static const char * prm_ha_replica_list_default
static int prm_size_to_log_pages(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
#define PRM_NAME_THREAD_STACKSIZE
static unsigned int prm_optimizer_reserve_10_flag
int * PRM_EVENT_ACTIVATION
const char * PRM_EVENT_HANDLER
static int prm_list_query_cache_mode_lower
static int prm_csql_history_num_lower
static bool prm_tcp_keepalive_default
#define HA_SERVER_STATE_TO_BE_STANDBY_STR
static bool prm_optimizer_reserve_13_default
#define PRM_NAME_HEAP_INFO_CACHE_LOGGING
#define HB_DEFAULT_CHANGEMODE_INTERVAL_IN_MSECS
static unsigned int prm_log_nbuffers_flag
static int prm_pb_sync_on_nflush_lower
struct session_param SESSION_PARAM
#define PRM_NAME_OPTIMIZER_RESERVE_13
bool PRM_CSQL_SINGLE_LINE_MODE
void xsysprm_change_server_parameters(const SYSPRM_ASSIGN_VALUE *assignments)
static int prm_csql_history_num_upper
int PRM_EXTENDED_STATISTICS
static bool prm_return_null_on_function_errors_default
static bool prm_examine_client_cached_locks_default
static float prm_pb_lru_buffer_ratio_default
#define PRM_NAME_DEBUG_LOG_WRITER
bool PRM_OPTIMIZER_RESERVE_16
#define PRM_NAME_PAGE_BUFFER_SIZE
#define PRM_NAME_PB_AOUT_RATIO
bool PRM_OPTIMIZER_RESERVE_06
static unsigned int prm_examine_client_cached_locks_flag
int session_get_session_parameters(THREAD_ENTRY *thread_p, SESSION_PARAM **session_parameters_ptr)
static const char * compat_mode_values_PRM_ANSI_QUOTES[COMPAT_ORACLE+2]
static KEYVAL boolean_words[]
static unsigned int prm_ha_repl_filter_file_flag
static unsigned int prm_pb_buffer_flush_ratio_flag
#define PRM_NAME_DEBUG_LOG_ARCHIVES
int tz_str_to_region(const char *tz_str, const int tz_str_size, TZ_REGION *tz_region)
static unsigned int prm_er_log_warning_flag
#define PRM_NAME_HA_REPLICA_TIME_BOUND
static unsigned int prm_ha_delay_limit_in_secs_flag
static bool prm_track_requests_default
static bool prm_pb_monitor_locks_default
static int prm_sql_trace_ioreads_default
static const char * prm_java_stored_procedure_jvm_options_default
#define HA_LOG_APPLIER_STATE_ERROR_STR
int PRM_SQL_TRACE_SLOW_MSECS
bool PRM_FORCE_REMOVE_LOG_ARCHIVES
static const char sysprm_conf_file_name[]
static unsigned int prm_enable_string_compression_flag
#define PRM_NAME_OPTIMIZER_RESERVE_09
static unsigned int prm_temp_mem_buffer_pages_flag
#define PRM_ADJUST_FOR_GET_FLOAT_TO_BIGINT(prm, out_val, in_val, err)
int sysprm_reload_and_init(const char *db_name, const char *conf_file)
static int prm_max_flush_pages_per_second_default
static bool prm_file_logging_default
#define PRM_NAME_DEBUG_ES
static bool prm_optimizer_enable_merge_join_default
static UINT64 prm_group_concat_max_len_upper
#define PRM_NAME_ENABLE_DWB_FLUSH_THREAD
#define PRM_NAME_CSQL_SINGLE_LINE_MODE
static unsigned int prm_oracle_style_empty_string_flag
static int prm_sec_to_min(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
#define PRM_NAME_FILTER_PRED_MAX_CACHE_CLONES
#define PRM_DEFAULT_VAL_USED(x)
static int prm_log_max_archives_lower
static unsigned int prm_only_full_group_by_flag
static int prm_session_timeout_upper
bool PRM_UNIQUE_ERROR_KEY_VALUE
static int prm_extended_statistics_lower
#define GET_PRM_STATIC_FLAG(id)
bool PRM_AUTO_RESTART_SERVER
static int prm_ha_server_state_upper
static void cleanup(int signo)
bool PRM_INTL_CHECK_INPUT_STRING
bool PRM_OPTIMIZER_RESERVE_19
#define PRM_NAME_ER_BTREE_DEBUG
static bool prm_debug_log_archives_default
static unsigned int prm_dwb_blocks_upper
#define PRM_ADJUST_FOR_GET_INTEGER_TO_BIGINT(prm, out_val, in_val, err)
int PRM_JAVA_STORED_PROCEDURE_PORT
const char * PRM_TDE_KEYS_FILE_PATH
static int prm_ha_apply_max_mem_size_default
static bool prm_optimizer_reserve_17_default
int PRM_PAGE_BG_FLUSH_INTERVAL_MSEC
static unsigned int prm_generic_vol_prealloc_size_flag
static unsigned int prm_log_no_logging_flag
#define PRM_NAME_LOADDB_WORKER_COUNT
#define PRM_NAME_OPTIMIZER_RESERVE_08
static int prm_optimization_level_default
static UINT64 prm_ib_task_memsize_upper
char * PRM_INTL_DATE_LANG
static unsigned int prm_optimizer_reserve_06_flag
int PRM_QUERY_TRACE_FORMAT
static unsigned int prm_csql_single_line_mode_flag
static int prm_log_pages_to_size(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
#define PRM_NAME_OPTIMIZER_RESERVE_14
static unsigned int prm_qo_dump_flag
#define strncpy_bufsize(buf, str)
static int prm_java_stored_procedure_debug_upper
int PRM_LK_MAX_SCANID_BIT
#define PRM_NAME_ER_LOG_WARNING
static bool prm_log_btree_ops_default
static unsigned int prm_optimizer_reserve_04_flag
#define PRM_NAME_LOG_HEADER_FLUSH_INTERVAL
static bool prm_alter_table_change_type_strict_default
int PRM_MNT_WAITING_THREAD
#define PRM_NAME_LOG_QUERY_LISTS
#define PRM_NAME_LOG_PGBUF_VICTIM_FLUSH
static int prm_xasl_cache_timeout_default
#define HB_DEFAULT_MAX_HEARTBEAT_GAP
char * or_unpack_float(char *ptr, float *number)
int PRM_HA_FAILOVER_WAIT_TIME_IN_MSECS
static unsigned int prm_io_temp_volume_path_flag
bool prm_get_commit_on_shutdown(void)
UINT64 PRM_DDL_AUDIT_LOG_SIZE
static bool prm_json_log_allocations_default
bool PRM_THREAD_CONNECTION_POOLING
static int prm_ha_copy_log_timeout_upper
static unsigned int prm_log_volume_size_flag
#define PRM_NAME_UNLOADDB_IGNORE_ERROR
static unsigned int prm_ha_mode_flag
static int prm_get_next_param_value(char **data, char **prm, char **value)
static bool prm_xasl_debug_dump_default
static unsigned int prm_vacuum_master_wakeup_interval_flag
static const char * prm_service_server_list_default
static UINT64 prm_thread_stacksize_default
static const char * compat_mode_values_PRM_ORACLE_STYLE_OUTERJOIN[COMPAT_ORACLE+2]
static unsigned int prm_compat_primary_key_flag
#define PRM_NAME_VACUUM_LOG_BLOCK_PAGES
static UINT64 prm_max_agg_hash_size_default
static int prm_bosr_maxtmp_pages
#define PRM_IS_FOR_SERVER(x)
static unsigned int prm_optimizer_reserve_07_flag
static char * sysprm_pack_sysprm_value(char *ptr, SYSPRM_VALUE value, SYSPRM_DATATYPE datatype)
static PARAM_ID sysprm_get_id(const SYSPRM_PARAM *prm)
UINT64 PRM_DB_VOLUME_SIZE
static KEYVAL tde_algorithm_words[]
int PRM_VACUUM_WORKER_COUNT
static bool prm_ansi_quotes_default
#define PRM_NAME_HA_COPY_LOG_BASE
bool PRM_IGNORE_TRAILING_SPACE
static bool prm_qo_dump_default
static int prm_ha_mode_upper
static int prm_mnt_waiting_thread_default
#define PRM_NAME_IO_LOCKF_ENABLE
#define PRM_NAME_HA_NODE_LIST
static int prm_session_timeout_lower
static bool prm_enable_histo_default
static int prm_vacuum_log_block_pages_upper
int PRM_JAVA_STORED_PROCEDURE_DEBUG
int PRM_VACUUM_LOG_BLOCK_PAGES
static int prm_log_group_commit_interval_msecs_lower
bool PRM_USE_SYSTEM_MALLOC
static float prm_bt_unfill_factor_default
#define PRM_HAS_SIZE_UNIT(x)
static unsigned int prm_data_file_advise_lower
int * PRM_HA_APPLYLOGDB_IGNORE_ERROR_LIST
SYSPRM_ERR sysprm_validate_change_parameters(const char *data, bool check, SYSPRM_ASSIGN_VALUE **assignments_ptr)
static float prm_pb_aout_ratio_upper
#define PRM_NAME_HF_MAX_BESTSPACE_ENTRIES
static char * prm_intl_number_lang_default
static int prm_ws_hashtable_size_default
static unsigned int prm_heap_info_cache_logging_flag
static int prm_mutex_busy_waiting_cnt_default
#define PRM_NAME_COMPENSATE_DEBUG
static int prm_ha_check_disk_failure_interval_in_secs_upper
int PRM_CTE_MAX_RECURSIONS
static char * sysprm_unpack_sysprm_value(char *ptr, SYSPRM_VALUE *value, SYSPRM_DATATYPE datatype)
char * or_unpack_int(char *ptr, int *number)
void sysprm_dump_parameters(FILE *fp)
#define PRM_NAME_HA_MAX_PROCESS_START_CONFIRM
int sysprm_set_to_default(const char *pname, bool set_to_force)
#define PRM_NAME_ANSI_QUOTES
bool PRM_PB_MONITOR_LOCKS
static int prm_compat_mode_lower
static unsigned int prm_max_entries_in_temp_file_cache_flag
static unsigned int prm_index_scan_key_buffer_pages_flag
#define PRM_NAME_HA_REPLICA_LIST
static int prm_ha_replica_delay_in_secs_default
static unsigned int prm_ha_db_list_flag
#define PRM_NAME_LOG_MEDIA_FAILURE_SUPPORT
static bool prm_logpb_logging_debug_default
static int prm_max_outer_card_of_idxjoin_default
#define CSS_MAX_CLIENT_COUNT
bool PRM_LOG_UNIQUE_STATS
#define PRM_NAME_CSQL_HISTORY_NUM
#define PRM_NAME_ENABLE_STRING_COMPRESSION
char * or_unpack_int64(char *ptr, INT64 *number)
static KEYVAL ha_repl_filter_type_words[]
static UINT64 prm_max_hash_list_scan_size_upper
static int prm_list_max_query_cache_entries_lower
static float prm_pb_buffer_flush_ratio_upper
#define HA_MODE_ROLE_CHANGE_STR
bool PRM_BT_INDEX_SCAN_OID_ORDER
#define PRM_DIFFERENT_UNIT(x)
static bool prm_perf_test_mode_default
static unsigned int prm_event_handler_flag
static int prm_log_group_commit_interval_msecs_default
#define PRM_ADJUST_FOR_SET_BIGINT_TO_INTEGER(prm, out_val, in_val, err)
static unsigned int prm_mnt_waiting_thread_flag
#define ER_LOG_NOTIN_ARCHIVE
int PRM_SQL_TRACE_IOREADS
static int prm_ha_server_state_default
float PRM_LIKE_TERM_SELECTIVITY
static int prm_sql_trace_slow_msecs_default
static SYSPRM_PARAM prm_Def[]
static UINT64 prm_max_agg_hash_size_lower
#define PRM_NAME_OPTIMIZER_RESERVE_19
#define PRM_NAME_REQUIRE_LIKE_ESCAPE_CHARACTER
int count(int &result, const cub_regex_object ®, const std::string &src, const int position, const INTL_CODESET codeset)
#define MSGCAT_CATALOG_CUBRID
static unsigned int prm_mysql_trigger_correlation_names_flag
static bool prm_dbfiles_protect_default
static unsigned int prm_log_checkpoint_interval_secs_flag
static int prm_sql_trace_ioreads_lower
static bool prm_dwb_logging_default
static int prm_ha_copy_log_max_archives_lower
static unsigned int prm_cte_max_recursions_flag
static int prm_fault_injection_id_flag
static float prm_bt_unfill_factor_lower
#define PRM_NAME_LIKE_TERM_SELECTIVITY
#define PRM_NAME_VACUUM_PREFETCH_LOG_MODE
static unsigned int prm_io_backup_nbuffers_flag
static unsigned int prm_new_lfhash_flag
#define PRM_GET_STRING(x)
static bool prm_log_async_commit_default
static bool prm_unicode_input_normalization_default
static int prm_tcp_port_id_default
static const char * prm_dl_fork_default
#define PRM_NAME_COMPACTDB_PAGE_RECLAIM_ONLY
static int sysprm_packed_sysprm_value_length(SYSPRM_VALUE value, SYSPRM_DATATYPE datatype, int offset)
#define PRM_NAME_LOG_BUFFER_SIZE
static unsigned int prm_io_volume_ext_path_flag
static bool prm_optimizer_reserve_16_default
static unsigned int prm_like_term_selectivity_flag
#define PRM_IS_INTEGER(x)
#define PRM_IS_GET_SERVER(x)
static int prm_thread_connection_timeout_seconds_lower
#define PRM_NAME_HA_CALC_SCORE_INTERVAL_IN_MSECS
bool PRM_OPTIMIZER_RESERVE_09
static int prm_ha_delay_limit_delta_in_secs_lower
float PRM_HF_UNFILL_FACTOR
static unsigned int prm_ha_sql_log_max_size_in_mb_flag
static unsigned int prm_use_stat_estimation_flag
#define PRM_IS_ALLOCATED(x)
void sysprm_free_session_parameters(SESSION_PARAM **session_parameters_ptr)
static bool prm_disable_vacuum_default
#define PRM_NAME_MAX_OUTER_CARD_OF_IDXJOIN
const char * PRM_IO_TEMP_VOLUME_PATH
#define PRM_ADJUST_FOR_GET_BIGINT_TO_BIGINT(prm, out_val, in_val, err)
#define PRM_NAME_STRING_MAX_SIZE_BYTES
#define PRM_IS_OBSOLETED(x)
#define PRM_NAME_XASL_CACHE_MAX_ENTRIES
int PRM_HA_DELAY_LIMIT_IN_SECS
static int prm_thread_worker_timeout_seconds_default
int PRM_UNLOADDB_LOCK_TIMEOUT
SYSPRM_ERR sysprm_make_default_values(const char *data, char *default_val_buf, const int buf_size)
#define PRM_USER_CAN_CHANGE(x)
#define PRM_NAME_TDE_KEYS_FILE_PATH
#define PRM_NAME_PB_SEQUENTIAL_VICTIM_FLUSH
static bool prm_heap_info_cache_logging_default
#define PRM_NAME_LOG_BG_FLUSH_INTERVAL_MSECS
static bool prm_csql_single_line_mode_default
#define PRM_NAME_PLUS_AS_CONCAT
#define PRM_NAME_UNIQUE_ERROR_KEY_VALUE
bool PRM_OPTIMIZER_RESERVE_10
static KEYVAL ha_server_state_words[]
#define PRM_NAME_ER_LOG_FILE
static unsigned int prm_pb_neighbor_flush_nondirty_flag
const char * envvar_get(const char *name)
static bool prm_optimizer_reserve_08_default
static float prm_pb_lru_buffer_ratio_lower
#define PRM_NAME_PAGE_BG_FLUSH_INTERVAL_MSECS
#define PRM_NAME_PB_NEIGHBOR_FLUSH_NONDIRTY
unsigned int PRM_DWB_SIZE
#define PRM_NAME_ER_LOG_SIZE
static void error(const char *msg)
int PRM_HA_MAX_HEARTBEAT_GAP
int PRM_HA_SQL_LOG_MAX_SIZE_IN_MB
static unsigned int prm_group_concat_max_len_flag
#define PRM_NAME_SQL_TRACE_SLOW_MSECS
static int prm_shutdown_wait_time_in_secs_lower
const char * PRM_CFG_DB_HOSTS
static bool prm_er_log_warning_default
bool PRM_MYSQL_TRIGGER_CORRELATION_NAMES
#define LOGPB_BUFFER_NPAGES_LOWER
#define PRM_SET_BIT(this, here)
#define ER_SP_INVALID_HEADER
static const bool prm_client_class_cache_debug_default
static unsigned int prm_ib_task_memsize_flag
static unsigned int prm_optimizer_reserve_13_flag
static unsigned int prm_reset_tr_parser_flag
#define PRM_NAME_DONT_REUSE_HEAP_FILE
char * or_pack_int(char *ptr, int number)
static KEYVAL isolation_level_words[]
int PRM_LK_TIMEOUT_MESSAGE_DUMP_LEVEL
static unsigned int prm_sql_trace_execution_plan_flag
static unsigned int prm_optimizer_reserve_03_flag
static unsigned int prm_optimizer_reserve_08_flag
static int prm_loaddb_flush_interval_lower
#define PRM_NAME_JAVA_STORED_PROCEDURE_PORT
static unsigned int prm_optimizer_reserve_11_flag
static int prm_insert_mode_lower
#define HA_SERVER_STATE_STANDBY_STR
bool PRM_GENERAL_RESERVE_01
static float prm_pb_buffer_flush_ratio_default
static bool prm_csql_auto_commit_default
bool PRM_OPTIMIZER_RESERVE_02
static int prm_remove_log_archives_interval_default
static float prm_bt_oid_nbuffers_lower
#define PRM_NAME_HA_APPLYLOGDB_IGNORE_ERROR_LIST
static unsigned int prm_tcp_port_id_flag
#define PRM_NAME_PB_NBUFFERS
#define PRM_NAME_PB_NEIGHBOR_FLUSH_PAGES
bool PRM_ORACLE_STYLE_OUTERJOIN
static unsigned int prm_dwb_logging_flag
static unsigned int prm_compensate_debug_flag
#define PRM_NAME_CHECK_PEER_ALIVE
#define PRM_NAME_ACCESS_IP_CONTROL_FILE
static unsigned int prm_xasl_cache_timeout_flag
int PRM_PB_DEBUG_PAGE_VALIDATION_LEVEL
static unsigned int prm_pb_num_LRU_chains_flag
#define PRM_NAME_VACUUM_PREFETCH_LOG_NBUFFERS
#define PRM_NAME_CSS_MAX_CLIENTS
int * PRM_HA_APPLYLOGDB_RETRY_ERROR_LIST
static unsigned int prm_java_stored_procedure_jvm_options_flag
#define PRM_NAME_RETURN_NULL_ON_FUNCTION_ERRORS
int PRM_IO_BACKUP_SLEEP_MSECS
static int prm_loaddb_workers_default
static unsigned int prm_call_stack_dump_on_error_flag
static KEYVAL null_words[]
#define PRM_NAME_LOG_CHECKPOINT_INTERVAL_SECS
bool PRM_ALLOW_TRUNCATED_STRING
#define PRM_NAME_XASL_DEBUG_DUMP
static int * prm_mnt_stats_threshold_default
static const char * compat_mode_values_PRM_ORACLE_STYLE_EMPTY_STRING[COMPAT_ORACLE+2]
static unsigned int prm_pb_monitor_locks_flag
static bool prm_call_stack_dump_on_error_default
static UINT64 prm_string_max_size_bytes_upper
static unsigned int prm_week_format_flag
static unsigned int prm_er_log_file_flag
#define ER_SP_UNKNOWN_SLOTID
static unsigned int prm_pb_neighbor_flush_pages_default
static int sysprm_compare_values(void *first_value, void *second_value, unsigned int val_type)
static unsigned int prm_ddl_audit_log_flag
static unsigned int prm_ha_changemode_interval_in_msecs_flag
#define PRM_NAME_HA_CHECK_DISK_FAILURE_INTERVAL_IN_SECS
bool PRM_HOSTVAR_LATE_BINDING
bool PRM_USE_ORDERBY_SORT_LIMIT
static unsigned int prm_optimizer_reserve_19_flag
bool PRM_OPTIMIZER_RESERVE_17
#define PRM_NAME_PB_MONITOR_LOCKS
static int prm_er_log_vacuum_default
static float prm_pb_aout_ratio_default
static unsigned int prm_query_trace_format_flag
#define PRM_NAME_DEBUG_REPLICATION_DATA
static unsigned int prm_max_outer_card_of_idxjoin_flag
static unsigned int prm_lk_timeout_secs_flag
static unsigned int prm_xasl_cache_logging_flag
static bool prm_debug_replication_data_default
static KEYVAL check_peer_alive_words[]
#define PRM_NAME_PB_SYNC_ON_FLUSH_SIZE
static const char * prm_ha_copy_log_base_default
static UINT64 prm_max_hash_list_scan_size_lower
#define PRM_NAME_CALL_STACK_DUMP_ACTIVATION
#define PRM_NAME_THREAD_WORKER_TIMEOUT_SECONDS
static int prm_mnt_waiting_thread_lower
float prm_get_float_value(PARAM_ID prm_id)
static UINT64 prm_group_concat_max_len_lower
static int prm_query_trace_format_lower
static int prm_io_pages_to_size(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
static int sysprm_print_sysprm_value(PARAM_ID prm_id, SYSPRM_VALUE value, char *buf, size_t len, PRM_PRINT_MODE print_mode)
int PRM_HA_APPLYLOGDB_LOG_WAIT_TIME_IN_SECS
int PRM_LIST_MAX_QUERY_CACHE_PAGES
static int prm_sr_nbuffers_default
#define PRM_NAME_MAX_RECURSION_SQL_DEPTH
#define PRM_NAME_TCP_NODELAY
static int prm_pb_num_private_chains_upper
#define PRM_CLIENT_SESSION
static bool prm_connection_logging_default
#define PRM_NAME_LOG_SWEEP_CLEAN
#define PRM_FOR_QRY_STRING
bool PRM_OPTIMIZER_RESERVE_03
static int prm_max_recursion_sql_depth_default
static int prm_ha_port_id_upper
#define PRM_NAME_LOG_TRACE_FLUSH_TIME
static unsigned int prm_er_production_mode_flag
#define PRM_NAME_HA_LOG_APPLIER_STATE
#define PRM_NAME_INSERT_MODE
#define PRM_VALUE_DEFAULT
static int prm_xasl_cache_max_clones_lower
static int prm_ha_check_disk_failure_interval_in_secs_lower
static int prm_ha_apply_max_mem_size_lower
static const char * compat_mode_values_PRM_MYSQL_TRIGGER_CORRELATION_NAMES[COMPAT_ORACLE+2]
bool PRM_COMPENSATE_DEBUG
static bool prm_optimizer_reserve_11_default
static unsigned int prm_json_log_allocations_flag
char * PRM_INTL_COLLATION
static int prm_ha_delay_limit_in_secs_default
bool PRM_COMMIT_ON_SHUTDOWN
static unsigned int prm_optimizer_reserve_02_flag
static bool prm_compat_primary_key_default
bool PRM_ER_PRODUCTION_MODE
static unsigned int prm_add_column_update_hard_default_flag
bool PRM_LOG_ASYNC_COMMIT
int PRM_HA_CALC_SCORE_INTERVAL_IN_MSECS
const char * PRM_HA_REPLICA_LIST
static unsigned int prm_log_max_archives_flag
void sysprm_change_parameter_values(const SYSPRM_ASSIGN_VALUE *assignments, bool check, bool set_flag)
int PRM_LOG_ISOLATION_LEVEL
static bool prm_optimizer_reserve_19_default
static int prm_vacuum_worker_count_upper
static int prm_tcp_port_id_upper
#define PRM_NAME_MAX_PAGES_IN_TEMP_FILE_CACHE
#define free_and_init(ptr)
#define PRM_NAME_PB_LRU_HOT_RATIO
int PRM_MUTEX_BUSY_WAITING_CNT
static unsigned int prm_pb_neighbor_flush_pages_lower
static float prm_like_term_selectivity_lower
#define DB_ALIGN(offset, align)
#define PRM_NAME_HA_SERVER_STATE
static unsigned int prm_log_sweep_clean_flag
bool PRM_THREAD_WORKER_POOLING
static unsigned int prm_intl_number_lang_flag
#define PRM_NAME_HA_HEARTBEAT_INTERVAL_IN_MSECS
bool PRM_ORACLE_STYLE_EMPTY_STRING
const char * PRM_ACCESS_IP_CONTROL_FILE
static unsigned int prm_repr_cache_log_flag
static int prm_loaddb_workers_upper
#define PRM_NAME_PB_DEBUG_PAGE_VALIDATION_LEVEL
char * prm_get_string_value(PARAM_ID prm_id)
int PRM_LOADDB_FLUSH_INTERVAL
int sysprm_get_range(const char *pname, void *min, void *max)
static int prm_java_stored_procedure_port_default
static bool prm_optimizer_reserve_04_default
#define HA_SERVER_STATE_TO_BE_ACTIVE_STR
static unsigned int prm_log_async_commit_flag
#define PRM_NAME_BT_INDEX_SCAN_OID_ORDER
static int prm_log_max_archives_default
static unsigned int prm_vacuum_log_block_pages_flag
static int int_list_initial[1]
#define PRM_NAME_XASL_CACHE_LOGGING
static float prm_pb_lru_buffer_ratio_upper
static unsigned int prm_ha_copy_log_timeout_flag
static SYSPRM_ERR sysprm_get_param_range(SYSPRM_PARAM *prm, void *min, void *max)
static unsigned int prm_tcp_connection_timeout_flag
void xsysprm_dump_server_parameters(FILE *outfp)
static int prm_fault_injection_test_lower
static const char * prm_cfg_db_hosts_default
int PRM_LOG_CHECKPOINT_INTERVAL_SECS
#define ER_LOG_CHECKPOINT_SKIP_INVALID_PAGE
static bool prm_block_nowhere_statement_default
const char * tz_get_system_timezone(void)
static int prm_suppress_fsync_lower
bool PRM_HA_REPL_ENABLE_SERVER_SIDE_UPDATE
static unsigned int prm_ha_max_process_dereg_confirm_flag
#define PRM_NAME_OPTIMIZATION_LEVEL
static int prm_ha_max_heartbeat_gap_default
#define PRM_NAME_LK_TIMEOUT
static unsigned int prm_no_backslash_escapes_flag
static unsigned int prm_mnt_stats_threshold_flag
static int prm_ha_heartbeat_interval_in_msecs_default
static int prm_ha_server_state_lower
static const KEYVAL * prm_keyword(int val, const char *name, const KEYVAL *tbl, int dim)
#define ER_HEAP_UNKNOWN_OBJECT
static int prm_er_btree_debug_default
static int prm_lk_timeout_secs_lower
static unsigned int prm_commit_on_shutdown_flag
#define PRM_NAME_RESET_TR_PARSER
#define PRM_IS_FOR_QRY_STRING(x)
#define PRM_NAME_HA_MODE_FOR_SA_UTILS_ONLY
#define PRM_NAME_MNT_STATS_THRESHOLD
static unsigned int prm_pb_neighbor_flush_pages_flag
static int prm_set_default(SYSPRM_PARAM *prm)
int PRM_MAX_OUTER_CARD_OF_IDXJOIN
#define PRM_NAME_IGNORE_TRAILING_SPACE
static bool prm_oracle_style_outerjoin_default
bool prm_get_bool_value(PARAM_ID prm_id)
#define PRM_NAME_QUERY_TRACE
#define PRM_NAME_GC_ENABLE
static int prm_thread_logging_flag_default
static int prm_ha_delay_limit_in_secs_lower
#define PRM_NAME_HA_DELAY_LIMIT_DELTA
#define PRM_NAME_INTL_CHECK_INPUT_STRING
static unsigned int prm_dwb_blocks_lower
static int prm_print(const SYSPRM_PARAM *prm, char *buf, size_t len, PRM_PRINT_MODE print_mode, PRM_PRINT_VALUE_MODE print_value_mode)
bool PRM_REQUIRE_LIKE_ESCAPE_CHARACTER
int PRM_LOG_CHECKPOINT_NPAGES
#define PRM_NAME_SQL_TRACE_SLOW
int PRM_TCP_CONNECTION_TIMEOUT
int intl_mbs_casecmp(const char *mbs1, const char *mbs2)
#define OR_PUT_INT(ptr, val)
static unsigned int prm_ha_repl_enable_server_side_update_flag
int ini_hassec(const char *key)
bool PRM_COMPAT_PRIMARY_KEY
static int prm_xasl_cache_max_clones_upper
#define PRM_NAME_OPTIMIZER_RESERVE_15
char * basename(const char *path)
#define PRM_NAME_LOG_TRACE_DEBUG
#define PRM_NAME_JAVA_STORED_PROCEDURE
static unsigned int prm_er_btree_debug_flag
static int prm_ha_changemode_interval_in_msecs_default
static int prm_ha_max_process_dereg_confirm_default
static int prm_sec_to_msec(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
static unsigned int prm_compat_mode_flag
TZ_REGION * tz_get_client_tz_region_session(void)
static int prm_ha_process_start_confirm_interval_in_msecs_default
static unsigned int prm_data_file_advise_upper
static int prm_thread_worker_timeout_seconds_lower
static int prm_thread_connection_timeout_seconds_upper
#define PRM_NAME_DB_VOLUME_SIZE
static unsigned int prm_xasl_debug_dump_flag
static int prm_tcp_connection_timeout_default
static unsigned int prm_log_bg_flush_interval_msecs_flag
static unsigned int prm_csql_history_num_flag
static bool prm_stats_on_default
#define PRM_NAME_ALLOW_TRUNCATED_STRING
#define PRM_NAME_HA_APPLYLOGDB_RETRY_ERROR_LIST
static bool prm_commit_on_shutdown_default
static unsigned int prm_er_stop_on_error_flag
int PRM_COMPACTDB_PAGE_RECLAIM_ONLY
static unsigned int prm_max_flush_pages_per_second_flag
bool PRM_OPTIMIZER_RESERVE_20
static void prm_file_has_been_loaded(const char *conf_path, const char *db_name)
static UINT64 prm_generic_vol_prealloc_size_lower
int PRM_HA_MAX_PROCESS_START_CONFIRM
static bool prm_adaptive_flush_control_default
static char * prm_io_volume_ext_path_default
static unsigned int prm_multi_range_opt_limit_flag
static unsigned int prm_connection_logging_flag
#define PRM_NAME_SINGLE_BYTE_COMPARE
#define PRM_NAME_XASL_CACHE_TIME_THRESHOLD_IN_MINUTES
static UINT64 prm_io_backup_max_volume_size_lower
int PRM_HA_APPLYLOGDB_MAX_COMMIT_INTERVAL_IN_MSECS
static bool prm_log_compress_default
static unsigned int prm_leap_second_support_flag
static int prm_vacuum_worker_count_lower
char * msgcat_message(int cat_id, int set_id, int msg_id)
#define PRM_NAME_INTL_COLLATION
#define PRM_NAME_HA_UNACCEPTABLE_PROC_RESTART_TIMEDIFF
static int prm_unloaddb_lock_timeout_default
#define PRM_NAME_PIPES_AS_CONCAT
static int prm_cte_max_recursions_upper
static int prm_set_force(SYSPRM_PARAM *prm, const char *value)
const char * prm_get_name(PARAM_ID prm_id)
static int prm_java_stored_procedure_debug_default
static unsigned int prm_io_lockf_enable_flag
static int prm_insert_mode_upper
static int prm_query_trace_format_upper
static const int call_stack_dump_error_codes[]
static bool prm_enable_string_compression_default
static int prm_log_checkpoint_npages_default
int PRM_HA_LOG_APPLIER_STATE
static unsigned int prm_remove_log_archives_interval_flag
bool PRM_OPTIMIZER_RESERVE_08
static bool * prm_ha_applylogdb_ignore_error_list_default
static bool prm_java_stored_procedure_reserve_01_default
static bool prm_optimizer_reserve_10_default
int PRM_XASL_CACHE_TIMEOUT
static unsigned int prm_tcp_keepalive_flag
static unsigned int prm_file_logging_flag
static unsigned int prm_data_file_advise_flag
static unsigned int prm_lk_run_deadlock_interval_flag
static unsigned int prm_unicode_output_normalization_flag
static unsigned int prm_pb_lru_hot_ratio_flag
#define PRM_NAME_FAULT_INJECTION_ACTION_PREFER_ABORT_TO_EXIT
static UINT64 prm_io_backup_max_volume_size_default
static UINT64 prm_log_volume_size_lower
static bool prm_ddl_audit_log_default
static unsigned int prm_session_timeout_flag
static int prm_ha_repl_filter_type_lower
static bool prm_disk_logging_default
char * strdup(const char *str)
static unsigned int prm_update_use_attribute_references_flag
int * PRM_MNT_STATS_THRESHOLD
static const char * prm_service_service_list_default
#define PRM_NAME_LOG_CHECKPOINT_SIZE
static unsigned int prm_java_stored_procedure_debug_flag
#define PRM_NAME_INTL_MBS_SUPPORT
static int prm_log_isolation_level_lower
static int prm_er_log_level_default
#define PRM_NAME_MAX_AGG_HASH_SIZE
void prm_set_string_value(PARAM_ID prm_id, char *value)
#define GET_PRM_DATATYPE(id)
#define ER_PARTITION_WORK_FAILED
static int prm_list_query_cache_mode_default
static int prm_java_stored_procedure_debug_lower
static int prm_extended_statistics_upper
static bool prm_add_column_update_hard_default_default
static UINT64 prm_db_volume_size_upper
#define PRM_NAME_VACUUM_WORKER_COUNT
#define HB_DEFAULT_FAILOVER_WAIT_TIME_IN_MSECS
static int prm_xasl_cache_time_threshold_in_minutes_lower
static int prm_log_nbuffers_lower
char * sysprm_print_parameters_for_ha_repl(void)
static unsigned int prm_optimizer_enable_aggregate_optimization_flag
char * sysprm_print_parameters_for_qry_string(void)
static bool prm_xasl_cache_logging_default
static const char * compat_mode_values_PRM_PLUS_AS_CONCAT[COMPAT_ORACLE+2]
#define PRM_NAME_POSTPONE_DEBUG
static unsigned int prm_oracle_style_outerjoin_flag
static void sysprm_clear_sysprm_value(SYSPRM_VALUE *value, SYSPRM_DATATYPE datatype)
static unsigned int prm_java_stored_procedure_reserve_01_flag
bool PRM_EXAMINE_CLIENT_CACHED_LOCKS
#define PRM_NAME_TEMP_MEM_BUFFER_PAGES
char * sysprm_unpack_session_parameters(char *ptr, SESSION_PARAM **session_parameters_ptr)
#define PRM_TEST_CHANGE_ONLY(x)
static unsigned int prm_ha_apply_max_mem_size_flag
static unsigned int prm_vacuum_prefetch_log_nbuffers_flag
static bool prm_optimizer_reserve_14_default
#define PRM_CLIENT_SESSION_ONLY(x)
const char * PRM_HA_COPY_SYNC_MODE
static float prm_hf_unfill_factor_upper
bool PRM_TZ_LEAP_SECOND_SUPPORT
static bool prm_io_lockf_enable_default
float PRM_BT_OID_NBUFFERS
static unsigned int prm_css_max_clients_flag
char * PRM_INTL_NUMBER_LANG
#define PRM_NAME_CSQL_AUTO_COMMIT
static int prm_log_trace_flush_time_msecs_default
int * PRM_CALL_STACK_DUMP_DEACTIVATION
#define PRM_NAME_LOG_CHECKPOINT_NPAGES
#define PRM_GET_FROM_SERVER(x)
static unsigned int prm_dwb_size_flag
#define PRM_NAME_THREAD_WORKER_POOLING
static KEYVAL fi_test_words[]
#define PRM_SERVER_SESSION(id)
static int prm_compactdb_page_reclaim_only_default
#define PRM_NAME_REMOVE_LOG_ARCHIVES_INTERVAL
bool PRM_CLIENT_CLASS_CACHE_DEBUG
const char * PRM_HA_NODE_LIST
static int prm_er_log_level_upper
#define PRM_NAME_LOG_CHKPT_DETAILED
#define HB_DEFAULT_HA_PORT_ID
#define PRM_NAME_PB_LRU_BUFFER_RATIO
#define PRM_NAME_DBFILES_PROTECT
static int prm_lk_max_scanid_bit_lower
static bool prm_pb_sequential_victim_flush_default
bool PRM_OPTIMIZER_RESERVE_11
static unsigned int prm_service_server_list_flag
#define PRM_NAME_COMPAT_MODE
static int prm_ha_unacceptable_proc_restart_timediff_default
static int prm_compound_has_changed(SYSPRM_PARAM *prm, bool set_flag)
static KEYVAL ha_mode_words[]
#define PRM_NAME_HA_REPL_FILTER_TYPE
bool PRM_CONNECTION_LOGGING
#define PRM_NAME_QUERY_TRACE_FORMAT
static int prm_max_flush_pages_per_second_lower
UINT64 PRM_STRING_MAX_SIZE_BYTES
#define ER_SP_BAD_INSERTION_SLOT
UINT64 PRM_IB_TASK_MEMSIZE
#define PRM_NAME_IO_VOLUME_EXT_PATH
#define PRM_NAME_ER_PRODUCTION_MODE
#define PRM_IS_BOOLEAN(x)
void prm_set_bool_value(PARAM_ID prm_id, bool value)
#define PRM_NAME_MAX_HASH_LIST_SCAN_SIZE
#define PRM_NAME_WS_HASHTABLE_SIZE
static int prm_log_checkpoint_sleep_msecs_default
bool PRM_ALTER_TABLE_CHANGE_TYPE_STRICT
int PRM_HA_REPL_FILTER_TYPE
unsigned int PRM_DWB_BLOCKS
static unsigned int prm_ws_memory_report_flag
static unsigned int prm_query_trace_flag
#define ER_PRM_BAD_VALUE_NO_DATA
static int prm_ha_applylogdb_log_wait_time_in_secs_lower
UINT64 PRM_THREAD_STACKSIZE
static bool * prm_event_activation_default
int sysprm_get_session_parameters_count(void)
static UINT64 prm_log_volume_size_upper
int PRM_MAX_RECURSION_SQL_DEPTH
#define PRM_NAME_INDEX_SCAN_KEY_BUFFER_SIZE
static unsigned int prm_ha_ping_hosts_flag
#define PRM_NAME_REPR_CACHE_LOG
static int prm_java_stored_procedure_port_upper
#define PRM_NAME_OBJECT_PRINT_FORMAT_OID
static const char * compat_mode_values_PRM_NO_BACKSLASH_ESCAPES[COMPAT_ORACLE+2]
#define HA_SERVER_STATE_ACTIVE_STR
#define PRM_NAME_GROUP_CONCAT_MAX_LEN
#define PRM_NAME_TCP_RCVBUF_SIZE
#define CUB_MAXHOSTNAMELEN
int PRM_OPTIMIZATION_LEVEL
#define PRM_NAME_OPTIMIZER_RESERVE_18
#define PRM_NAME_BT_UNFILL_FACTOR
int PRM_BOSR_MAXTMP_PAGES
bool PRM_ENABLE_STRING_COMPRESSION
int * prm_get_integer_list_value(PARAM_ID prm_id)
static unsigned int prm_thread_stacksize_flag
static UINT64 prm_generic_vol_prealloc_size_upper
#define PRM_NAME_BT_OID_NBUFFERS
static const char * prm_ha_replica_time_bound_default
static const char * compat_mode_values_PRM_ADD_COLUMN_UPDATE_HARD_DEFAULT[COMPAT_ORACLE+2]
static unsigned int prm_mutex_busy_waiting_cnt_flag
static unsigned int prm_intl_date_lang_flag
static unsigned int prm_log_unique_stats_flag
bool PRM_OPTIMIZER_RESERVE_04
static unsigned int prm_log_background_archiving_flag
#define PRM_NAME_BLOCK_NOWHERE_STATEMENT
#define PRM_NAME_DDL_AUDIT_LOG_SIZE
float PRM_PB_BUFFER_FLUSH_RATIO
SYSPRM_ASSIGN_VALUE * next
bool PRM_UPDATE_USE_ATTRIBUTE_REFERENCES
#define PRM_NAME_SQL_TRACE_EXECUTION_PLAN
#define PRM_NAME_INTL_DATE_LANG
#define PRM_NAME_EVENT_ACTIVATION
#define ER_CT_INVALID_CLASSID
#define PRM_NAME_SR_NBUFFERS
static unsigned int prm_sr_nbuffers_flag
#define PRM_NAME_HA_COPY_SYNC_MODE
#define PRM_NAME_GENERAL_RESERVE_01
static int prm_ha_calc_score_interval_in_msecs_default
static unsigned int prm_logpb_logging_debug_flag
static bool prm_force_remove_log_archives_default
static unsigned int prm_ha_applylogdb_ignore_error_list_flag
#define PRM_NAME_SUPPRESS_FSYNC
bool PRM_WS_MEMORY_REPORT
int PRM_IO_BACKUP_NBUFFERS
#define ER_NET_SERVER_COMM_ERROR
static float prm_bt_unfill_factor_upper
static bool prm_intl_check_input_string_default
float PRM_PB_LRU_BUFFER_RATIO
const char * lang_get_Lang_name(void)
static KEYVAL compat_words[]
static int prm_vacuum_log_block_pages_lower
int PRM_PB_NUM_PRIVATE_CHAINS
static const char * compat_mode_values_PRM_RETURN_NULL_ON_FUNCTION_ERRORS[COMPAT_ORACLE+2]
static float prm_like_term_selectivity_default
static int prm_equal_to_ori(void *out_val, SYSPRM_DATATYPE out_type, void *in_val, SYSPRM_DATATYPE in_type)
UINT64 PRM_LOG_VOLUME_SIZE
static KEYVAL er_log_level_words[]
static UINT64 prm_thread_stacksize_upper
static UINT64 prm_generic_vol_prealloc_size_default
void prm_set_bigint_value(PARAM_ID prm_id, UINT64 value)
bool sysprm_find_err_in_integer_list(PARAM_ID prm_id, int error_code)
static void sysprm_update_flag_allocated(SYSPRM_PARAM *prm)
static unsigned int prm_create_table_reuseoid
#define PRM_NAME_HA_COPY_LOG_MAX_ARCHIVES
#define PRM_NAME_JSON_MAX_ARRAY_IDX
static unsigned int prm_optimization_level_flag
#define PRM_NAME_SERVER_TIMEZONE
#define PRM_NAME_COMMIT_ON_SHUTDOWN
static unsigned int prm_list_max_query_cache_entries_flag
#define PRM_NAME_AGG_HASH_RESPECT_ORDER
static unsigned int prm_list_max_query_cache_pages_flag
#define PRM_NAME_XASL_CACHE_TIMEOUT
#define ER_HEAP_BAD_OBJECT_TYPE
int PRM_HA_INIT_TIMER_IN_MSECS
bool PRM_JAVA_STORED_PROCEDURE
static bool prm_optimizer_reserve_15_default
static int prm_log_isolation_level_default
static unsigned int prm_vacuum_worker_count_flag
#define PRM_DEFAULT_BUFFER_SIZE
static char * prm_intl_collation_default
#define PRM_NAME_LOG_VOLUME_SIZE
#define GETHOSTNAME(p, l)
static int prm_pb_num_LRU_chains_lower
static unsigned int prm_optimizer_reserve_17_flag
static unsigned int prm_client_class_cache_debug_flag
#define PRM_NAME_DEBUG_AUTOCOMMIT
static unsigned int prm_unique_error_key_value_flag
static int prm_max_flush_pages_per_second_upper
#define VACUUM_LOG_BLOCK_PAGES_DEFAULT
static bool prm_optimizer_reserve_09_default
static struct @30 prm_Files_loaded[MAX_NUM_OF_PRM_FILES_LOADED]
static bool prm_require_like_escape_character_default
bool PRM_OPTIMIZER_ENABLE_MERGE_JOIN
#define PRM_NAME_PERF_TEST_MODE
static const char * prm_ha_node_list_default
int PRM_VACUUM_MASTER_WAKEUP_INTERVAL
static unsigned int prm_pb_sync_on_nflush_flag
#define PRM_NAME_ER_LOG_DEBUG
#define MSGCAT_SET_PARAMETERS
static const char * prm_ha_copy_sync_mode_default
static unsigned int prm_ha_replica_delay_in_secs_flag
#define PRM_NAME_COMPAT_NUMERIC_DIVISION_SCALE
#define HA_LOG_APPLIER_STATE_DONE_STR
static const char * prm_event_handler_default
#define PRM_NAME_SQL_TRACE_IOREADS
static unsigned int prm_csql_auto_commit_flag
static unsigned int prm_bt_unfill_factor_flag
static unsigned int prm_ha_log_applier_state_flag
bool PRM_COMPAT_NUMERIC_DIVISION_SCALE
static unsigned int prm_er_log_debug_flag
#define PRM_NAME_HA_APPLYLOGDB_MAX_COMMIT_INTERVAL_IN_MSECS
#define PRM_NAME_LK_MAX_SCANID_BIT
static unsigned int prm_lk_escalation_at_flag
const char * PRM_HA_REPLICA_TIME_BOUND
#define PRM_NAME_JAVA_STORED_PROCEDURE_RESERVE_01
#define ER_PRM_UNKNOWN_SYSPRM
#define PRM_NAME_HA_FAILOVER_WAIT_TIME_IN_MSECS
int PRM_HA_CHANGEMODE_INTERVAL_IN_MSECS
static unsigned int prm_ha_check_disk_failure_interval_in_secs_flag
static unsigned int prm_intl_mbs_support_flag
static unsigned int prm_pb_num_private_chains_flag
static KEYVAL query_trace_format_words[]
static unsigned int prm_ha_process_start_confirm_interval_in_msecs_flag
static float prm_pb_aout_ratio_lower
static void prm_check_environment(void)
char * envvar_confdir_file(char *path, size_t size, const char *filename)
UINT64 PRM_GROUP_CONCAT_MAX_LEN
#define PRM_NAME_TCP_SNDBUF_SIZE
static unsigned int prm_filter_pred_max_cache_entries_flag
#define HA_LOG_APPLIER_STATE_RECOVERING_STR
static unsigned int prm_pb_sequential_victim_flush_flag
int * PRM_FAULT_INJECTION_IDS
static SESSION_PARAM * sysprm_alloc_session_parameters(void)
static unsigned int prm_log_bg_flush_num_pages_flag
static UINT64 prm_db_volume_size_lower
bool sysprm_find_fi_code_in_integer_list(PARAM_ID prm_id, int fi_code)