瀏覽代碼

Merge pull request #4896 from jakesmith/hpcc-10113

HPCC-10113 - Lookup join incorrectly handling KEEP(1)

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 11 年之前
父節點
當前提交
a4ea14f185
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      thorlcr/activities/lookupjoin/thlookupjoinslave.cpp

+ 1 - 1
thorlcr/activities/lookupjoin/thlookupjoinslave.cpp

@@ -694,7 +694,7 @@ public:
 
                 fuzzyMatch = 0 != (JFmatchrequired & flags);
                 bool maySkip = 0 != (flags & JFtransformMaySkip);
-                dedup = compareRight && !maySkip && !fuzzyMatch && (!returnMany || 1==keepLimit);
+                dedup = compareRight && !maySkip && !fuzzyMatch && !returnMany;
 
                 // code gen should spot invalid constants on KEEP with LOOKUP (without MANY)
                 break;