ソースを参照

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;