From cfef21be866e7d25a89f9c94ddfe2864e86a94ab Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Thu, 21 May 2020 11:54:41 +0300 Subject: [PATCH] Fix build. --- .../Executors/PipelineExecutingBlockInputStream.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Processors/Executors/PipelineExecutingBlockInputStream.cpp b/src/Processors/Executors/PipelineExecutingBlockInputStream.cpp index 3c127d08c28..ba42d858d50 100644 --- a/src/Processors/Executors/PipelineExecutingBlockInputStream.cpp +++ b/src/Processors/Executors/PipelineExecutingBlockInputStream.cpp @@ -79,14 +79,6 @@ inline static void throwIfExecutionStarted(bool is_execution_started, const char ErrorCodes::LOGICAL_ERROR); } -inline static void throwIfExecutionNotStarted(bool is_execution_started, const char * method) -{ - if (!is_execution_started) - throw Exception(String("Cannot call ") + method + - " for PipelineExecutingBlockInputStream because execution was not started", - ErrorCodes::LOGICAL_ERROR); -} - void PipelineExecutingBlockInputStream::cancel(bool kill) { IBlockInputStream::cancel(kill);