fix some bugs
This commit is contained in:
@ -1987,14 +1987,11 @@ int ObTransformSimplifySubquery::try_trans_any_all_as_exists(ObDMLStmt *stmt,
|
||||
}
|
||||
} else {
|
||||
//check children
|
||||
bool child_is_bool_expr = expr->get_expr_type() == T_OP_OR ||
|
||||
expr->get_expr_type() == T_OP_AND ||
|
||||
expr->get_expr_type() == T_OP_XOR;
|
||||
for (int64_t i = 0; OB_SUCC(ret) && i < expr->get_param_count(); ++i) {
|
||||
if (OB_FAIL(SMART_CALL(try_trans_any_all_as_exists(stmt,
|
||||
expr->get_param_expr(i),
|
||||
not_null_ctx,
|
||||
child_is_bool_expr,
|
||||
false,
|
||||
is_happened)))) {
|
||||
LOG_WARN("failed to try_transform_any_all for param", K(ret));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user