dbms: development [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2012-10-20 07:23:13 +00:00
parent 3f62b5bb2e
commit 8bda876d42

View File

@ -36,7 +36,7 @@ public:
void cancel()
{
if (!was_cancelled && !finished)
if (sent_query && !was_cancelled && !finished && !got_exception_from_server)
{
LOG_TRACE(log, "Cancelling query");