[CP] fix simplify set cause 4016 bug
This commit is contained in:
@ -74,8 +74,14 @@ int ObTransformSimplifySet::transform_one_stmt(common::ObIArray<ObParentDMLStmt>
|
||||
}
|
||||
}
|
||||
}
|
||||
if (OB_SUCC(ret) && trans_happened && OB_FAIL(add_transform_hint(*stmt, NULL))) {
|
||||
LOG_WARN("failed to add transform hint", K(ret));
|
||||
if (OB_SUCC(ret)) {
|
||||
if (!trans_happened) {
|
||||
// do nothing
|
||||
} else if (OB_FAIL(stmt->adjust_subquery_list())) {
|
||||
LOG_WARN("failed to adjust subquery list", K(ret));
|
||||
} else if (OB_FAIL(add_transform_hint(*stmt, NULL))) {
|
||||
LOG_WARN("failed to add transform hint", K(ret));
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user