Fix result_rows and result_bytes metrics for selects.

This commit is contained in:
Nikolai Kochetov 2020-07-02 18:00:37 +03:00
parent 57d727d078
commit e7ab4df148

View File

@ -81,7 +81,7 @@ public:
void setExtremes(const Block & extremes) { consumeExtremes(Chunk(extremes.getColumns(), extremes.rows())); }
size_t getResultRows() const { return result_rows; }
size_t getResultBytes() const { return result_rows; }
size_t getResultBytes() const { return result_bytes; }
private:
/// Counters for consumed chunks. Are used for QueryLog.