Update ProhibitColumnsBlockOutputStream.cpp

This commit is contained in:
alexey-milovidov 2018-01-09 20:47:03 +03:00 committed by GitHub
parent b7639c2324
commit 014049110f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ namespace ErrorCodes
void ProhibitColumnsBlockOutputStream::write(const Block & block)
{
if(allow_materialized)
if (allow_materialized)
{
for (const auto & column : columns)
if (block.has(column.name))