Browse Source

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 12 years ago
parent
commit
be5dea54cb
1 changed files with 1 additions and 1 deletions
  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)
     {