patch bug fix to open source branch

This commit is contained in:
obdev
2021-07-19 22:45:15 +08:00
committed by wangzelin.wzl
parent e03cb03357
commit c949c5e01f
13 changed files with 252 additions and 101 deletions

View File

@ -112,6 +112,8 @@ int ObTableFdItem::check_expr_in_child(const ObRawExpr* expr, const EqualSets& e
if (OB_ISNULL(expr)) {
ret = OB_ERR_UNEXPECTED;
LOG_WARN("get null expr", K(ret));
} else if (expr->has_flag(CNT_AGG)) {
//do nothing
} else if (expr->get_expr_levels().has_member(stmt_level_)) {
if (child_tables_.is_superset(expr->get_relation_ids())) {
is_in_child = true;