aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Interpreters/CancellationCode.h
blob: 69f77e012f3595bf8e947e4fe4b555a0dc6a8575 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

namespace DB
{

/// A result code for the KILL QUERY/KILL MUTATION statement.
enum class CancellationCode
{
    NotFound = 0,                     /// already cancelled
    QueryIsNotInitializedYet = 1,
    CancelCannotBeSent = 2,
    CancelSent = 3,
    Unknown
};

}