Fix totals json object

This commit is contained in:
Alexey Korepanov 2024-07-24 17:49:33 +01:00
parent 118e329e23
commit b0ec8c92fc

View File

@ -68,7 +68,7 @@ void JSONCompactWithProgressRowOutputFormat::writeAfterTotals()
{ {
JSONUtils::writeCompactArrayEnd(*ostr); JSONUtils::writeCompactArrayEnd(*ostr);
JSONUtils::writeCompactObjectEnd(*ostr); JSONUtils::writeCompactObjectEnd(*ostr);
writeCString("}\n", *ostr); writeCString("\n", *ostr);
} }
void JSONCompactWithProgressRowOutputFormat::writeExtremesElement(const char * title, const Columns & columns, size_t row_num) void JSONCompactWithProgressRowOutputFormat::writeExtremesElement(const char * title, const Columns & columns, size_t row_num)