From 3fb01d5f60322e70305a524e6b7f986debe1d258 Mon Sep 17 00:00:00 2001 From: Andrew Hutchings Date: Wed, 18 Dec 2019 15:09:47 +0200 Subject: [PATCH] Revert "MCOL-1734 This patch fixes the error for NOT IN + subquery when outer query has NULLs in a key" This reverts commit 5174c40bfe6a8c041c5d6056b4795ac12752e21c. --- primitives/primproc/batchprimitiveprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/primitives/primproc/batchprimitiveprocessor.cpp b/primitives/primproc/batchprimitiveprocessor.cpp index 2fe026142..7ed4339ae 100644 --- a/primitives/primproc/batchprimitiveprocessor.cpp +++ b/primitives/primproc/batchprimitiveprocessor.cpp @@ -1190,7 +1190,7 @@ void BatchPrimitiveProcessor::executeTupleJoin() */ if (((!found || isNull) && !(joinTypes[j] & (LARGEOUTER | ANTI))) || - ((joinTypes[j] & ANTI) && ((isNull && !(joinTypes[j] & MATCHNULLS)) || (found && !isNull)))) + ((joinTypes[j] & ANTI) && ((isNull && (joinTypes[j] & MATCHNULLS)) || (found && !isNull)))) { //cout << " - not in the result set\n"; break;