Additional function case insensitivity from #3704

This commit is contained in:
Ivan Blinkov 2018-12-19 17:46:18 +03:00
parent 0352c5a57c
commit 24a0b3a53e
4 changed files with 4 additions and 4 deletions

View File

@ -1080,7 +1080,7 @@ void registerFunctionsStringSearch(FunctionFactory & factory)
factory.registerFunction<FunctionReplaceAll>();
factory.registerFunction<FunctionReplaceRegexpOne>();
factory.registerFunction<FunctionReplaceRegexpAll>();
factory.registerFunction<FunctionPosition>();
factory.registerFunction<FunctionPosition>(FunctionFactory::CaseInsensitive);
factory.registerFunction<FunctionPositionUTF8>();
factory.registerFunction<FunctionPositionCaseInsensitive>();
factory.registerFunction<FunctionPositionCaseInsensitiveUTF8>();

View File

@ -48,7 +48,7 @@ template <> struct FunctionUnaryArithmeticMonotonicity<NameAbs>
void registerFunctionAbs(FunctionFactory & factory)
{
factory.registerFunction<FunctionAbs>();
factory.registerFunction<FunctionAbs>(FunctionFactory::CaseInsensitive);
}
}

View File

@ -9,7 +9,7 @@ using FunctionRand = FunctionRandom<UInt32, NameRand>;
void registerFunctionRand(FunctionFactory & factory)
{
factory.registerFunction<FunctionRand>();
factory.registerFunction<FunctionRand>(FunctionFactory::CaseInsensitive);
}
}

View File

@ -147,7 +147,7 @@ private:
void registerFunctionReverse(FunctionFactory & factory)
{
factory.registerFunction<FunctionBuilderReverse>();
factory.registerFunction<FunctionBuilderReverse>(FunctionFactory::CaseInsensitive);
}
}