浏览代码

Merge pull request #8843 from jakesmith/hpcc-15822

HPCC-15822 Uninitialized member preventing spilling

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 年之前
父节点
当前提交
53f9abafb2
共有 1 个文件被更改,包括 2 次插入0 次删除
  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)