dbms: tiny fix [#METR-2944].

This commit is contained in:
Alexey Milovidov 2014-03-02 23:36:53 +04:00
parent d1aeaedf61
commit f20d8967b1
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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);