提交 17c38d69 编写于 作者: H Haisheng Yuan and Omer Arap 提交者: Jesse Zhang and Xin Zhang

Resolve issue that the inner expr doesn't have var from inner rel

上级 cbf16d51
......@@ -308,7 +308,7 @@ IsCorrelatedOpExpr(OpExpr *opexp, Expr **innerExpr)
* It is correlated only if we found an outer var and inner expr
*/
if (tOuterExpr)
if (tOuterExpr && contain_vars_of_level((Node *) tInnerExpr, 0))
{
*innerExpr = tInnerExpr;
return true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册