* Fixing bug in dbms/src/DataStreams/PushingToViewsBlockOutputStream.cpp

that was introduced when trying to fix a clang error.
This commit is contained in:
Vitaliy Zakaznikov 2019-06-10 08:11:43 -04:00
parent a68980ab38
commit fc4ea55b98

View File

@ -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
{ {