Commit 1c928de0 authored by Michael A. Goulet's avatar Michael A. Goulet :cold_sweat:
Browse files

Apply NOT to InSubqueryOperator

It turns out that we never correctly implemented the INVERT flag to the
InSubqueryOperator. It was added to the toString implementation, but not
the evaluation!
parent 391659b2
No related merge requests found
Showing with 2 additions and 3 deletions
+2 -3
......@@ -106,11 +106,10 @@ public class InSubqueryOperator extends SubqueryOperator {
break;
if (TupleComparator.areTuplesEqual(valueTup, subqueryTup))
return Boolean.TRUE;
return invert ? false : true;
}
// If we got here, nothing matched.
return Boolean.FALSE;
return invert ? true : false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment