| 1 | #include <Functions/FunctionMathUnary.h> | 
|---|---|
| 2 | #include <Functions/FunctionFactory.h> | 
| 3 | |
| 4 | namespace DB | 
| 5 | { | 
| 6 | |
| 7 | struct Log10Name { static constexpr auto name = "log10"; }; | 
| 8 | using FunctionLog10 = FunctionMathUnary<UnaryFunctionVectorized<Log10Name, log10>>; | 
| 9 | |
| 10 | void registerFunctionLog10(FunctionFactory & factory) | 
| 11 | { | 
| 12 | factory.registerFunction<FunctionLog10>(FunctionFactory::CaseInsensitive); | 
| 13 | } | 
| 14 | |
| 15 | } | 
| 16 | 
