Move register to the Misc group

This commit is contained in:
keenwolf 2021-01-16 20:35:41 +08:00
parent 85e4bfa566
commit fe78b31ed4
3 changed files with 3 additions and 3 deletions

View File

@ -119,7 +119,7 @@ namespace DB
};
void registerFunctionFromFile(FunctionFactory & factory)
void registerFunctionFile(FunctionFactory & factory)
{
factory.registerFunction<FunctionFile>();
}

View File

@ -6,7 +6,6 @@ namespace DB
{
void registerFunctionFixedString(FunctionFactory & factory);
void registerFunctionFromFile(FunctionFactory & factory);
void registerFunctionsConversion(FunctionFactory & factory)
{
@ -37,7 +36,6 @@ void registerFunctionsConversion(FunctionFactory & factory)
factory.registerFunction<FunctionToString>();
registerFunctionFixedString(factory);
registerFunctionFromFile(factory);
factory.registerFunction<FunctionToUnixTimestamp>();

View File

@ -67,6 +67,7 @@ void registerFunctionInitializeAggregation(FunctionFactory &);
void registerFunctionErrorCodeToName(FunctionFactory &);
void registerFunctionTcpPort(FunctionFactory &);
void registerFunctionByteSize(FunctionFactory &);
void registerFunctionFile(FunctionFactory & factory);
#if USE_ICU
void registerFunctionConvertCharset(FunctionFactory &);
@ -134,6 +135,7 @@ void registerFunctionsMiscellaneous(FunctionFactory & factory)
registerFunctionErrorCodeToName(factory);
registerFunctionTcpPort(factory);
registerFunctionByteSize(factory);
registerFunctionFile(factory);
#if USE_ICU
registerFunctionConvertCharset(factory);