fix: fix outline not reproducible error for coalesce subquery
This commit is contained in:
parent
2e5a3cf0d0
commit
b155155f74
@ -97,12 +97,13 @@ int ObTransformSubqueryCoalesce::transform_one_stmt(common::ObIArray<ObParentDML
|
||||
} else if (OB_FAIL(append(ctx_->equal_param_constraints_, cost_based_equal_infos))) {
|
||||
LOG_WARN("failed to append equal infos", K(ret));
|
||||
}
|
||||
|
||||
if (OB_SUCC(ret)) {
|
||||
trans_happened = rule_based_trans_happened || is_happened;
|
||||
if (OB_FAIL(try_trans_helper.finish(trans_happened, stmt->get_query_ctx(), ctx_))) {
|
||||
LOG_WARN("failed to finish try trans helper", K(ret));
|
||||
}
|
||||
if (OB_FAIL(ret)) {
|
||||
} else if (OB_FAIL(try_trans_helper.finish(rule_based_trans_happened || is_happened,
|
||||
stmt->get_query_ctx(),
|
||||
ctx_))) {
|
||||
LOG_WARN("failed to finish try trans helper", K(ret));
|
||||
} else if (rule_based_trans_happened || is_happened) {
|
||||
trans_happened = true;
|
||||
}
|
||||
} while(OB_SUCC(ret) && is_happened);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user