Преглед изворни кода

HPCC-18747 Ensure row remains alive for long enough to link it

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday пре 7 година
родитељ
комит
59c2f6bf56
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      common/thorhelper/thorstep.cpp

+ 1 - 1
common/thorhelper/thorstep.cpp

@@ -1224,6 +1224,7 @@ bool CAndMergeJoinProcessor::findCandidates(const void * seekValue, unsigned num
         return false;
 
     const bool inputsMustMatchEquality = (numEqualFields == numExternalEqualFields);
+    PreservedRow savedRow(inputAllocator);
     const void * equalValue;
     unsigned firstInput = 0;
     if (inputsMustMatchEquality && allInputsAreOuterInputs)
@@ -1252,7 +1253,6 @@ bool CAndMergeJoinProcessor::findCandidates(const void * seekValue, unsigned num
             return false;
         }
 
-        PreservedRow savedRow(inputAllocator);
         unsigned matchCount = 0;
         clearMatches();
         if (matchedCompletely)