Преглед на файлове

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;