diff --git a/dbms/src/Functions/currentUser.cpp b/dbms/src/Functions/currentUser.cpp index ee7c4d589a0..fa8b3103be2 100644 --- a/dbms/src/Functions/currentUser.cpp +++ b/dbms/src/Functions/currentUser.cpp @@ -48,7 +48,7 @@ public: void registerFunctionCurrentUser(FunctionFactory & factory) { factory.registerFunction(); - factory.registerAlias("user", FunctionCurrentUser::name, FunctionFactory::CaseSensitive); + factory.registerAlias("user", FunctionCurrentUser::name, FunctionFactory::CaseInsensitive); } }