mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
* Fixing bug in dbms/src/DataStreams/PushingToViewsBlockOutputStream.cpp
that was introduced when trying to fix a clang error.
This commit is contained in:
parent
a68980ab38
commit
fc4ea55b98
@ -86,8 +86,8 @@ void PushingToViewsBlockOutputStream::write(const Block & block)
|
|||||||
|
|
||||||
if (auto * live_view = dynamic_cast<StorageLiveView *>(storage.get()))
|
if (auto * live_view = dynamic_cast<StorageLiveView *>(storage.get()))
|
||||||
{
|
{
|
||||||
output = std::make_shared<LiveViewBlockOutputStream>(*live_view);
|
BlockOutputStreamPtr output_ = std::make_shared<LiveViewBlockOutputStream>(*live_view);
|
||||||
StorageLiveView::writeIntoLiveView(*live_view, block, context, output);
|
StorageLiveView::writeIntoLiveView(*live_view, block, context, output_);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user