ClickHouse/dbms/src/Functions/FunctionsEmbeddedDictionaries.cpp
alexey-milovidov c9c8c8ec50 Better option to disable mysqlclient (#710)
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].

* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00

31 lines
1.0 KiB
C++

#include <Functions/FunctionFactory.h>
#include <Functions/FunctionsEmbeddedDictionaries.h>
namespace DB
{
void registerFunctionsEmbeddedDictionaries(FunctionFactory & factory)
{
factory.registerFunction<FunctionRegionToCity>();
factory.registerFunction<FunctionRegionToArea>();
factory.registerFunction<FunctionRegionToDistrict>();
factory.registerFunction<FunctionRegionToCountry>();
factory.registerFunction<FunctionRegionToContinent>();
factory.registerFunction<FunctionRegionToTopContinent>();
factory.registerFunction<FunctionRegionToPopulation>();
factory.registerFunction<FunctionRegionIn>();
factory.registerFunction<FunctionRegionHierarchy>();
factory.registerFunction<FunctionRegionToName>();
#if USE_MYSQL
factory.registerFunction<FunctionOSToRoot>();
factory.registerFunction<FunctionSEToRoot>();
factory.registerFunction<FunctionOSIn>();
factory.registerFunction<FunctionSEIn>();
factory.registerFunction<FunctionOSHierarchy>();
factory.registerFunction<FunctionSEHierarchy>();
#endif
}
}