Add error codes for sql module, !! Please Read Task Description Carefully!!

This commit is contained in:
obdev
2023-08-01 17:18:33 +00:00
committed by ob-robot
parent a706aa36a0
commit a56c5b6dec
63 changed files with 106 additions and 67 deletions

View File

@ -81,6 +81,7 @@ int ObExecStatCollector::collect_plan_monitor_info(uint64_t job_id,
if (OB_FAIL(monitor_info->get_operator_info_by_index(i, op_info))) {
SQL_MONITOR_LOG(WARN, "fail to get operator info by index", K(ret), K(i));
} else if (OB_ISNULL(op_info)) {
ret = OB_ERR_UNEXPECTED;
SQL_MONITOR_LOG(WARN, "get invalie op_info", K(ret), K(op_info));
} else if (OB_FAIL(op_info->set_job_id(job_id))) {
SQL_MONITOR_LOG(WARN, "fail to set job id", K(ret), K(job_id));