[FEAT MERGE]4_1_sql_feature

Co-authored-by: leslieyuchen <leslieyuchen@gmail.com>
Co-authored-by: Charles0429 <xiezhenjiang@gmail.com>
Co-authored-by: raywill <hustos@gmail.com>
This commit is contained in:
obdev
2023-01-28 16:01:26 +08:00
committed by ob-robot
parent 3080f2b66f
commit 2d19a9d8f5
846 changed files with 161957 additions and 116661 deletions

View File

@ -17,6 +17,7 @@
#include "ob_operator_factory.h"
#include "sql/engine/ob_exec_context.h"
#include "common/ob_smart_call.h"
#include "sql/monitor/ob_plan_real_info_manager.h"
namespace oceanbase
{
@ -898,6 +899,14 @@ int ObOperator::submit_op_monitor_node()
LOG_DEBUG("debug monitor", K(spec_.id_));
}
}
ObPlanRealInfoMgr *plan_info = MTL(ObPlanRealInfoMgr*);
if (plan_info && spec_.plan_ && spec_.plan_->need_record_plan_info()) {
IGNORE_RETURN plan_info->handle_plan_info(spec_.id_,
spec_.plan_->get_sql_id_string(),
spec_.plan_->get_plan_id(),
spec_.plan_->get_plan_hash_value(),
op_monitor_info_);
}
}
IGNORE_RETURN try_deregister_rt_monitor_node();
return ret;