Make alias case-insenstitive

This commit is contained in:
Alexandr Krasheninnikov 2019-08-14 13:20:15 +03:00
parent 4d145cb72b
commit bc4177f64c

View File

@ -48,7 +48,7 @@ public:
void registerFunctionCurrentUser(FunctionFactory & factory)
{
factory.registerFunction<FunctionCurrentUser>();
factory.registerAlias("user", FunctionCurrentUser::name, FunctionFactory::CaseSensitive);
factory.registerAlias("user", FunctionCurrentUser::name, FunctionFactory::CaseInsensitive);
}
}