diff --git a/dbms/src/Functions/FunctionsIntrospection.cpp b/dbms/src/Functions/FunctionsIntrospection.cpp deleted file mode 100644 index 0452e1a9f1f..00000000000 --- a/dbms/src/Functions/FunctionsIntrospection.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include -#include - -namespace DB -{ - -void registerFunctionsIntrospection(FunctionFactory & factory) -{ - factory.registerFunction(); -} - -} diff --git a/dbms/src/Functions/registerFunctions.cpp b/dbms/src/Functions/registerFunctions.cpp index a1c75aaf33a..178f085e1ad 100644 --- a/dbms/src/Functions/registerFunctions.cpp +++ b/dbms/src/Functions/registerFunctions.cpp @@ -40,6 +40,7 @@ void registerFunctionsIntrospection(FunctionFactory &); void registerFunctionsNull(FunctionFactory &); void registerFunctionsFindCluster(FunctionFactory &); void registerFunctionsJSON(FunctionFactory &); +void registerFunctionSymbolizeAddress(FunctionFactory &); void registerFunctions() { @@ -75,10 +76,10 @@ void registerFunctions() registerFunctionsVisitParam(factory); registerFunctionsMath(factory); registerFunctionsGeo(factory); - registerFunctionsIntrospection(factory); registerFunctionsNull(factory); registerFunctionsFindCluster(factory); registerFunctionsJSON(factory); + registerFunctionSymbolizeAddress(factory); } } diff --git a/dbms/src/Functions/FunctionsIntrospection.h b/dbms/src/Functions/symbolizeAddress.cpp similarity index 94% rename from dbms/src/Functions/FunctionsIntrospection.h rename to dbms/src/Functions/symbolizeAddress.cpp index 081616d8c0c..e49a4147a58 100644 --- a/dbms/src/Functions/FunctionsIntrospection.h +++ b/dbms/src/Functions/symbolizeAddress.cpp @@ -1,5 +1,3 @@ -#pragma once - #include #include #include @@ -7,6 +5,7 @@ #include #include #include +#include #include @@ -85,4 +84,9 @@ public: } }; +void registerFunctionSymbolizeAddress(FunctionFactory & factory) +{ + factory.registerFunction(); +} + }