mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Make if function name case-insensive #3704
This commit is contained in:
parent
afcd6f9f09
commit
21c76a3d63
@ -936,7 +936,7 @@ public:
|
||||
|
||||
void registerFunctionIf(FunctionFactory & factory)
|
||||
{
|
||||
factory.registerFunction<FunctionIf>();
|
||||
factory.registerFunction<FunctionIf>(FunctionFactory::CaseInsensitive);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -7,3 +7,4 @@ baz
|
||||
fo
|
||||
oo
|
||||
o
|
||||
1
|
||||
|
@ -9,3 +9,4 @@ select Locate('foo', 'o');
|
||||
select SUBSTRING('foo', 1, 2);
|
||||
select Substr('foo', 2);
|
||||
select mid('foo', 3);
|
||||
select IF(3>2, 1, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user