mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-28 20:50:49 +00:00
get rid of std::terminate
This commit is contained in:
parent
67766034f2
commit
9064af6cb6
@ -52,7 +52,7 @@ public:
|
|||||||
{
|
{
|
||||||
need_flush = true;
|
need_flush = true;
|
||||||
if (!IOutputFormat::finalized)
|
if (!IOutputFormat::finalized)
|
||||||
std::terminate();
|
finalize();
|
||||||
finishAndWait();
|
finishAndWait();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -70,7 +70,6 @@ public:
|
|||||||
|
|
||||||
void onCancel() override
|
void onCancel() override
|
||||||
{
|
{
|
||||||
std::cout << "onCancel" << std::endl;
|
|
||||||
finishAndWait();
|
finishAndWait();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user