[BUG] report error when 4013 for assign participants

This commit is contained in:
Handora
2022-11-23 03:06:04 +00:00
committed by wangzelin.wzl
parent d63bdbd204
commit 73ef48ed09
2 changed files with 3 additions and 2 deletions

View File

@ -80,7 +80,6 @@ int RowDesc::add_column(ObRawExpr *raw_expr)
SQL_CG_LOG(WARN, "failed to get hashmap", K(ret));
}
}
if (OB_SUCC(ret) && !raw_expr->has_flag(IS_COLUMNLIZED)
&& OB_FAIL(raw_expr->add_flag(IS_COLUMNLIZED))) {
SQL_CG_LOG(WARN, "failed to add flag", K(ret));

View File

@ -367,7 +367,9 @@ int ObPartTransCtx::set_2pc_participants_(const ObLSArray &participants)
{
int ret = OB_SUCCESS;
exec_info_.participants_ = participants;
if (OB_FAIL(exec_info_.participants_.assign(participants))) {
TRANS_LOG(WARN, "set participants error", K(ret), K(participants), KPC(this));
}
return ret;
}