mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Merge pull request #22042 from Slach/fix_issue_22028
case insensitive aliases for CONNECTION_ID() and VERSION()
This commit is contained in:
commit
bb925e16bf
@ -34,8 +34,8 @@ private:
|
||||
|
||||
void registerFunctionConnectionID(FunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<FunctionConnectionID>();
|
||||
factory.registerAlias("connection_id", "connectionID");
|
||||
factory.registerFunction<FunctionConnectionID>(FunctionFactory::CaseInsensitive);
|
||||
factory.registerAlias("connection_id", "connectionID", FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
|
||||
void registerFunctionVersion(FunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<FunctionVersion>();
|
||||
factory.registerFunction<FunctionVersion>(FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
1 1 1
|
@ -0,0 +1 @@
|
||||
SELECT version()=Version(), VERSION()=Version(), vErSiOn()=VeRsIoN();
|
@ -0,0 +1 @@
|
||||
0 0 0 0 0 0
|
@ -0,0 +1 @@
|
||||
SELECT connection_id(), CONNECTION_ID(), CoNnEcTiOn_Id(), connectionid(), CONNECTIONID(), CoNnEcTiOnId();
|
Loading…
Reference in New Issue
Block a user