Browse Source

Merge pull request #8843 from jakesmith/hpcc-15822

HPCC-15822 Uninitialized member preventing spilling

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 years ago
parent
commit
53f9abafb2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      thorlcr/thorutil/thmem.cpp

+ 2 - 0
thorlcr/thorutil/thmem.cpp

@@ -1237,6 +1237,8 @@ CThorSpillableRowArray::CThorSpillableRowArray(CActivityBase &activity)
     : CThorExpandingRowArray(activity)
 {
     initCommon();
+    commitDelta = CommitStep;
+    throwOnOom = false;
 }
 
 CThorSpillableRowArray::CThorSpillableRowArray(CActivityBase &activity, IThorRowInterfaces *rowIf, bool allowNulls, StableSortFlag stableSort, rowidx_t initialSize, size32_t _commitDelta)