fix some replace expr bugs in optimizer
This commit is contained in:
@ -148,13 +148,12 @@ int ObLogOptimizerStatsGathering::get_target_osg_id(uint64_t &target_id)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int ObLogOptimizerStatsGathering::inner_replace_op_exprs(const common::ObIArray<std::pair<ObRawExpr *,
|
||||
ObRawExpr *> > &to_replace_exprs)
|
||||
int ObLogOptimizerStatsGathering::inner_replace_op_exprs(ObRawExprReplacer &replacer)
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
if (OB_FAIL(replace_exprs_action(to_replace_exprs, col_conv_exprs_))) {
|
||||
if (OB_FAIL(replace_exprs_action(replacer, col_conv_exprs_))) {
|
||||
LOG_WARN("failed to replace exprs", K(ret));
|
||||
} else if (OB_FAIL(replace_exprs_action(to_replace_exprs, generated_column_exprs_))) {
|
||||
} else if (OB_FAIL(replace_exprs_action(replacer, generated_column_exprs_))) {
|
||||
LOG_WARN("failed to replace exprs", K(ret));
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user