Fix pushdown qual bug and failed mysqltest
This commit is contained in:
parent
06cd51db17
commit
0d96a5fdf3
@ -11409,11 +11409,10 @@ int ObJoinOrder::extract_pushdown_quals(const ObIArray<ObRawExpr *> &quals,
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("get unexplected null", K(qual), K(ret));
|
||||
// can not push down expr with subquery
|
||||
} else if (qual->has_flag(CNT_SUB_QUERY) &&
|
||||
(qual->has_flag(CNT_PSEUDO_COLUMN) ||
|
||||
qual->has_flag(CNT_PRIOR) ||
|
||||
qual->has_flag(CNT_ROWNUM))) {
|
||||
if (force_inner_nl) {
|
||||
} else if (qual->has_flag(CNT_PSEUDO_COLUMN) ||
|
||||
qual->has_flag(CNT_PRIOR) ||
|
||||
qual->has_flag(CNT_ROWNUM)) {
|
||||
if (force_inner_nl && qual->has_flag(CNT_SUB_QUERY)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("can not push down special qual", KPC(qual), K(ret));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user