mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
dbms: tiny fix [#METR-2944].
This commit is contained in:
parent
d1aeaedf61
commit
f20d8967b1
@ -223,7 +223,7 @@ namespace ErrorCodes
|
||||
UNKNOWN_TOTALS_MODE,
|
||||
CANNOT_STATVFS,
|
||||
NOT_AN_AGGREGATE,
|
||||
QUERY_ID_ALREADY_RUNNING,
|
||||
QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING,
|
||||
|
||||
POCO_EXCEPTION = 1000,
|
||||
STD_EXCEPTION,
|
||||
|
@ -134,7 +134,7 @@ public:
|
||||
{
|
||||
if (!replace_running_query)
|
||||
throw Exception("Query with id = " + query_id_ + " is already running.",
|
||||
ErrorCodes::QUERY_ID_ALREADY_RUNNING);
|
||||
ErrorCodes::QUERY_WITH_SAME_ID_IS_ALREADY_RUNNING);
|
||||
element->second->is_cancelled = true;
|
||||
/// В случае если запрос отменяется, данные о нем удаляются из мапа в момент отмены.
|
||||
queries->second.erase(element);
|
||||
|
Loading…
Reference in New Issue
Block a user