Explorar el Código

Merge pull request #14125 from wangkx/h24610

HPCC-24610 Reset addingSimpleNestedContent in CSV writer

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday hace 4 años
padre
commit
b061e290dd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      rtl/eclrtl/rtlformat.cpp

+ 1 - 0
rtl/eclrtl/rtlformat.cpp

@@ -1435,6 +1435,7 @@ bool CommonCSVWriter::checkHeaderName(const char* name)
     if (!name || !*name)
         return false;
 
+    addingSimpleNestedContent = false; //Initialize to false.
     if (currentParentXPath.isEmpty())
     {
         bool* found = topHeaderNameMap.getValue(name);