HPCC-24610 Reset addingSimpleNestedContent in CSV writer Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com> Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
@@ -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);