From bc4177f64cefd43c477d05dc0f92ca0c62fc4185 Mon Sep 17 00:00:00 2001 From: Alexandr Krasheninnikov Date: Wed, 14 Aug 2019 13:20:15 +0300 Subject: [PATCH] Make alias case-insenstitive --- dbms/src/Functions/currentUser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }