浏览代码

Merge pull request #9495 from ghalliday/issue16886

HPCC-16886 Switch from max to min record size in field information

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 8 年之前
父节点
当前提交
c45b63df6f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ecl/hqlcpp/hqlhtcpp.cpp

+ 1 - 1
ecl/hqlcpp/hqlhtcpp.cpp

@@ -3929,7 +3929,7 @@ unsigned HqlCppTranslator::buildRtlType(StringBuffer & instanceName, ITypeInfo *
             arguments.append(",");
             childType = buildRtlRecordFields(arguments, record, record);
 //          fieldType |= (childType & RFTMcontainsifblock);
-            length = getMaxRecordSize(record);
+            length = getMinRecordSize(record);
             if (!isFixedRecordSize(record))
                 fieldType |= RFTMunknownsize;
             break;