Skip to content

Commit

Permalink
Review ClickHouse#51946 and partially revert it
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov authored and kothiga committed Oct 25, 2023
1 parent 1184dfc commit ffd8deb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IO/Progress.cpp
Expand Up @@ -74,6 +74,7 @@ void ProgressValues::writeJSON(WriteBuffer & out) const
/// Numbers are written in double quotes (as strings) to avoid loss of precision
/// of 64-bit integers after interpretation by JavaScript.

writeCString("{", out);
writeCString("\"read_rows\":\"", out);
writeText(read_rows, out);
writeCString("\",\"read_bytes\":\"", out);
Expand All @@ -89,6 +90,7 @@ void ProgressValues::writeJSON(WriteBuffer & out) const
writeCString("\",\"result_bytes\":\"", out);
writeText(result_bytes, out);
writeCString("\"", out);
writeCString("}", out);
}

bool Progress::incrementPiecewiseAtomically(const Progress & rhs)
Expand Down

0 comments on commit ffd8deb

Please sign in to comment.