mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 19:42:00 +00:00
case-insensitive comparison
This commit is contained in:
parent
1b45284c17
commit
01b1440bd4
@ -217,13 +217,13 @@ void ASTFunction::formatImplWithoutAlias(const FormatSettings & settings, Format
|
||||
const char * operators[] =
|
||||
{
|
||||
"negate", "-",
|
||||
"not", "NOT",
|
||||
"not", "NOT ",
|
||||
nullptr
|
||||
};
|
||||
|
||||
for (const char ** func = operators; *func; func += 2)
|
||||
{
|
||||
if (strcmp(name.c_str(), func[0]) != 0)
|
||||
if (strcasecmp(name.c_str(), func[0]) != 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user