Przeglądaj źródła

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 lat temu
rodzic
commit
a4ea14f185

+ 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;