Quellcode durchsuchen

HPCC-8304 Regression causing spilling hthor sort to lose records

Regression caused by HPCC-3097, lost the auto flushing from the
spill stream writer used in hthor's sort spilling

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith vor 12 Jahren
Ursprung
Commit
be5dea54cb
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      common/thorhelper/thorcommon.cpp

+ 1 - 1
common/thorhelper/thorcommon.cpp

@@ -1593,7 +1593,7 @@ public:
         tempname.append('.').append(tempfiles.ordinality()).append('_').append((__int64)GetCurrentThreadId()).append('_').append((unsigned)GetCurrentProcessId());
         IFile *file = createIFile(tempname.str());
         tempfiles.append(*file);
-        return createRowWriter(file, rowInterfaces, 0); // flushed by close
+        return createRowWriter(file, rowInterfaces);
     }
     void put(const void **rows,unsigned numrows)
     {