From e8170fde2ae5af306e6efc6e68a1306ccdd855dc Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 13 Jul 2017 03:04:06 +0300 Subject: [PATCH] Fixed error in prev. revisions [#CLICKHOUSE-2]. --- dbms/src/Server/Client.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dbms/src/Server/Client.cpp b/dbms/src/Server/Client.cpp index 153198a3bf0..415516b04b4 100644 --- a/dbms/src/Server/Client.cpp +++ b/dbms/src/Server/Client.cpp @@ -45,6 +45,8 @@ #include #include #include +#include +#include /// http://en.wikipedia.org/wiki/ANSI_escape_code @@ -260,6 +262,9 @@ private: int mainImpl(const std::vector & args) { + registerFunctions(); + registerAggregateFunctions(); + /// Batch mode is enabled if one of the following is true: /// - -e (--query) command line option is present. /// The value of the option is used as the text of query (or of multiple queries).