From 6a60a6dbde886aeaf33ba78899aefb390eaf8a67 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Tue, 23 Jan 2018 22:43:06 +0300 Subject: [PATCH] Fixed error in prev. revision [#CLICKHOUSE-2] --- dbms/src/Interpreters/InterpreterExistsQuery.cpp | 2 +- dbms/src/Interpreters/InterpreterShowCreateQuery.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Interpreters/InterpreterExistsQuery.cpp b/dbms/src/Interpreters/InterpreterExistsQuery.cpp index 4510548d068..1dac1692a81 100644 --- a/dbms/src/Interpreters/InterpreterExistsQuery.cpp +++ b/dbms/src/Interpreters/InterpreterExistsQuery.cpp @@ -25,7 +25,7 @@ BlockIO InterpreterExistsQuery::execute() Block InterpreterExistsQuery::getSampleBlock() { - return {{ nullptr, std::make_shared(), "result" }}; + return {{ std::make_shared(), "result" }}; } diff --git a/dbms/src/Interpreters/InterpreterShowCreateQuery.cpp b/dbms/src/Interpreters/InterpreterShowCreateQuery.cpp index 96a5554bf65..ab0c83a1971 100644 --- a/dbms/src/Interpreters/InterpreterShowCreateQuery.cpp +++ b/dbms/src/Interpreters/InterpreterShowCreateQuery.cpp @@ -27,7 +27,7 @@ BlockIO InterpreterShowCreateQuery::execute() Block InterpreterShowCreateQuery::getSampleBlock() { - return {{ nullptr, std::make_shared(), "statement" }}; + return {{ std::make_shared(), "statement" }}; }