From eb5040771bc52ed5e87c21b3c2868c950353ef86 Mon Sep 17 00:00:00 2001 From: Alexander Kazakov Date: Wed, 11 Dec 2019 17:54:19 +0300 Subject: [PATCH] Minor correction --- dbms/programs/server/TCPHandler.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dbms/programs/server/TCPHandler.cpp b/dbms/programs/server/TCPHandler.cpp index c81f6c1bbd..449aa32ee8 100644 --- a/dbms/programs/server/TCPHandler.cpp +++ b/dbms/programs/server/TCPHandler.cpp @@ -521,7 +521,7 @@ void TCPHandler::processOrdinaryQuery() } async_in.readSuffix(); - /** When the data has run out, we send the profiling data and totals up to the last zero block, + /** When the data has run out, we send the profiling data and totals up to the terminating empty block, * so that this information can be used in the suffix output of stream. * If the request has been interrupted, then sendTotals and other methods should not be called, * because we have not read all the data. @@ -531,10 +531,9 @@ void TCPHandler::processOrdinaryQuery() sendTotals(state.io.in->getTotals()); sendExtremes(state.io.in->getExtremes()); sendProfileInfo(state.io.in->getProfileInfo()); - sendProgress(); } - sendLogs(); + sendData({}); } state.io.onFinish(); -- GitLab