From baaaf996c2317d9c170fba5bfa7ed2d5d3c6ae81 Mon Sep 17 00:00:00 2001 From: tavplubix Date: Tue, 17 Aug 2021 21:15:44 +0300 Subject: [PATCH] Update getSourceFromFromASTInsertQuery.cpp --- src/Processors/Transforms/getSourceFromFromASTInsertQuery.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Processors/Transforms/getSourceFromFromASTInsertQuery.cpp b/src/Processors/Transforms/getSourceFromFromASTInsertQuery.cpp index daf07a208bd..9e64bd954fa 100644 --- a/src/Processors/Transforms/getSourceFromFromASTInsertQuery.cpp +++ b/src/Processors/Transforms/getSourceFromFromASTInsertQuery.cpp @@ -64,7 +64,8 @@ Pipe getSourceFromFromASTInsertQuery( const auto in_file = in_file_node.value.safeGet(); input_buffer = wrapReadBufferWithCompressionMethod(std::make_unique(in_file), chooseCompressionMethod(in_file, "")); - } else + } + else { ConcatReadBuffer::ReadBuffers buffers; if (ast_insert_query->data)