Removed garbage

This commit is contained in:
Alexey Milovidov 2020-03-28 13:26:23 +03:00
parent 4ec30b01b1
commit fbe951e03d

View File

@ -519,12 +519,9 @@ void StorageLiveView::drop(TableStructureWriteLockHolder &)
void StorageLiveView::refresh() void StorageLiveView::refresh()
{ {
auto alter_lock = lockAlterIntention(); std::lock_guard lock(mutex);
{ if (getNewBlocks())
std::lock_guard lock(mutex); condition.notify_all();
if (getNewBlocks())
condition.notify_all();
}
} }
Pipes StorageLiveView::read( Pipes StorageLiveView::read(