mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Add cancell to SourceFromInputStream.
This commit is contained in:
parent
902b977d9d
commit
6a656e8ee8
@ -224,8 +224,8 @@ public:
|
|||||||
bool isCancelled() const { return is_cancelled; }
|
bool isCancelled() const { return is_cancelled; }
|
||||||
void cancel()
|
void cancel()
|
||||||
{
|
{
|
||||||
onCancel();
|
|
||||||
is_cancelled = true;
|
is_cancelled = true;
|
||||||
|
onCancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~IProcessor() = default;
|
virtual ~IProcessor() = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user