mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Fixed error in prev. revisions [#CLICKHOUSE-2].
This commit is contained in:
parent
1cf669cc0a
commit
e8170fde2a
@ -45,6 +45,8 @@
|
||||
#include <Columns/ColumnString.h>
|
||||
#include <Common/NetException.h>
|
||||
#include <common/readline_use.h>
|
||||
#include <Functions/registerFunctions.h>
|
||||
#include <AggregateFunctions/registerAggregateFunctions.h>
|
||||
|
||||
|
||||
/// http://en.wikipedia.org/wiki/ANSI_escape_code
|
||||
@ -260,6 +262,9 @@ private:
|
||||
|
||||
int mainImpl(const std::vector<std::string> & 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).
|
||||
|
Loading…
Reference in New Issue
Block a user