Reorder Squashing and adding default output stream in insert

This commit is contained in:
alesapin 2018-09-19 14:09:12 +03:00
parent c2f3453fda
commit 520446df53

View File

@ -108,7 +108,6 @@ BlockIO InterpreterInsertQuery::execute()
out = std::make_shared<AddingDefaultBlockOutputStream>(
out, header, required_columns, table->getColumns().defaults, context);
auto out_wrapper = std::make_shared<CountingBlockOutputStream>(out);
out_wrapper->setProcessListElement(context.getProcessListElement());
out = std::move(out_wrapper);