[CP] [to #57075306] [FEAT MERGE] 4_2_3_pl_dev merge review
Co-authored-by: hanr881 <1741282579@qq.com> Co-authored-by: seuwebber <webber_code@163.com> Co-authored-by: LiuYoung00 <liuyanglo_ol@163.com>
This commit is contained in:
@ -5496,8 +5496,9 @@ void ObSql::generate_sql_id(ObPlanCacheCtx &pc_ctx,
|
||||
{
|
||||
// It has been checked during parser_and_check, there is no need to check again here
|
||||
if (OB_SUCCESS == err_code
|
||||
&& parse_result.result_tree_->children_[0]->type_ == T_SP_CALL_STMT) {
|
||||
signature_sql = pc_ctx.sql_ctx_.spm_ctx_.bl_key_.constructed_sql_;
|
||||
&& PC_TEXT_MODE == pc_ctx.mode_
|
||||
&& T_SP_CALL_STMT == parse_result.result_tree_->children_[0]->type_) {
|
||||
signature_sql = pc_ctx.fp_result_.pc_key_.name_;
|
||||
} else if (add_plan_to_pc == false
|
||||
|| PC_PS_MODE == pc_ctx.mode_
|
||||
|| PC_PL_MODE == pc_ctx.mode_
|
||||
|
||||
Reference in New Issue
Block a user