Optimize operator name with use_rich_format enabled

This commit is contained in:
obdev
2024-02-09 14:05:06 +00:00
committed by ob-robot
parent b7b06563ac
commit ee68fd84f7
7 changed files with 83 additions and 49 deletions

View File

@ -53,7 +53,7 @@ int ObMonitoringDumpOp::inner_open()
LOG_WARN("unexpected status: child is null", K(ret));
} else {
ObObj val;
const char* name = get_phy_op_name(spec_.get_left()->type_);
const char* name = get_phy_op_name(spec_.get_left()->type_, spec_.use_rich_format_);
op_name_.set_string(name, strlen(name));
if (OB_FAIL(ctx_.get_my_session()->get_sys_variable(SYS_VAR_TRACEFILE_IDENTIFIER, val))) {
LOG_WARN("Get sys variable error", K(ret));