fix some replace expr bugs in optimizer

This commit is contained in:
yinyj17
2023-06-14 07:12:26 +00:00
committed by ob-robot
parent 56f33a54f2
commit 703ed5c14e
48 changed files with 268 additions and 275 deletions

View File

@ -490,11 +490,10 @@ bool ObLogExprValues::contain_array_binding_param() const
return bret;
}
int ObLogExprValues::inner_replace_op_exprs(
const common::ObIArray<std::pair<ObRawExpr *, ObRawExpr*>> &to_replace_exprs)
int ObLogExprValues::inner_replace_op_exprs(ObRawExprReplacer &replacer)
{
int ret = OB_SUCCESS;
if (OB_FAIL(replace_exprs_action(to_replace_exprs, value_exprs_))) {
if (OB_FAIL(replace_exprs_action(replacer, value_exprs_))) {
LOG_WARN("failed to replace exprs", K(ret));
}
return ret;