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).