occupy for dbms_scheduler log service

This commit is contained in:
obdev
2024-02-10 04:59:41 +00:00
committed by ob-robot
parent 37e923b7ef
commit ba097cf261

View File

@ -140,6 +140,8 @@ enum ObLogBaseType
// for share storage net throt // for share storage net throt
SHARE_STORAGE_NRT_THROT_LOG_BASE_TYPE = 44, SHARE_STORAGE_NRT_THROT_LOG_BASE_TYPE = 44,
// for DBMS_SCHEDULER
DBMS_SCHEDULER_LOG_BASE_TYPE = 45,
// pay attention!!! // pay attention!!!
// add log type in log_base_type_to_string // add log type in log_base_type_to_string
// max value // max value
@ -230,6 +232,8 @@ int log_base_type_to_string(const ObLogBaseType log_type,
strncpy(str ,"COMMON_LS_SERVICE", str_len); strncpy(str ,"COMMON_LS_SERVICE", str_len);
} else if (log_type == LS_BLOCK_TX_SERVICE_LOG_BASE_TYPE) { } else if (log_type == LS_BLOCK_TX_SERVICE_LOG_BASE_TYPE) {
strncpy(str ,"BLOCK_TX_SERVICE", str_len); strncpy(str ,"BLOCK_TX_SERVICE", str_len);
} else if (log_type == DBMS_SCHEDULER_LOG_BASE_TYPE) {
strncpy(str ,"DBMS_SCHEDULER", str_len);
} else if (log_type == WORKLOAD_REPOSITORY_SERVICE_LOG_BASE_TYPE) { } else if (log_type == WORKLOAD_REPOSITORY_SERVICE_LOG_BASE_TYPE) {
strncpy(str ,"WORKLOAD_REPOSITORY_SERVICE", str_len); strncpy(str ,"WORKLOAD_REPOSITORY_SERVICE", str_len);
} else if (log_type == TTL_LOG_BASE_TYPE) { } else if (log_type == TTL_LOG_BASE_TYPE) {