mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +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()
|
||||
? "Cancelling query because of exception on client"
|
||||
: "Cancelling query because enough data has been read"));
|
||||
LOG_TRACE(log, "Cancelling query because enough data has been read");
|
||||
|
||||
was_cancelled = true;
|
||||
connection.sendCancel();
|
||||
|
Loading…
Reference in New Issue
Block a user