ClickHouse/src/Interpreters/CancellationCode.h
2020-04-03 18:14:31 +03:00

17 lines
282 B
C++

#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
};
}