From 833bec99c6b2ab5841278a67db18f7eda343c0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=89=AC?= <654010905@qq.com> Date: Fri, 16 Aug 2024 07:53:01 +0000 Subject: [PATCH] fix var shadow --- cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp b/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp index 2191112cfc12..f123b7c74f41 100644 --- a/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp +++ b/cpp-ch/local-engine/Storages/SourceFromJavaIter.cpp @@ -142,7 +142,7 @@ DB::Chunk SourceFromJavaIter::generate() } else { - DB::Chunk result = BlockUtil::buildRowCountChunk(input_block->rows()); + result = BlockUtil::buildRowCountChunk(input_block->rows()); auto info = std::make_shared(); result.getChunkInfos().add(std::move(info)); }