mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
dbms: development [#CONV-2944].
This commit is contained in:
parent
a1fd23efb1
commit
957f89f4e3
@ -109,11 +109,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/// Отправим просьбу прервать выполнение запроса, если ещё не отправляли.
|
/// Отправим просьбу прервать выполнение запроса, если ещё не отправляли.
|
||||||
if (!was_cancelled)
|
if (!was_cancelled && !std::uncaught_exception())
|
||||||
{
|
{
|
||||||
LOG_TRACE(log, (std::uncaught_exception()
|
LOG_TRACE(log, "Cancelling query because enough data has been read");
|
||||||
? "Cancelling query because of exception on client"
|
|
||||||
: "Cancelling query because enough data has been read"));
|
|
||||||
|
|
||||||
was_cancelled = true;
|
was_cancelled = true;
|
||||||
connection.sendCancel();
|
connection.sendCancel();
|
||||||
|
Loading…
Reference in New Issue
Block a user