You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
MCOL-1786 Reduce the performance degradation caused by iequals.
This commit is contained in:
@ -383,5 +383,14 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
inline bool isTrueWord(const char *field, int fieldLength)
|
||||
{
|
||||
//return false;
|
||||
return fieldLength == 4 && ( field[0] == 'T' || field[0] == 't' )
|
||||
&& ( field[1] == 'R' || field[1] == 'r' )
|
||||
&& ( field[2] == 'U' || field[2] == 'u' )
|
||||
&& ( field[3] == 'E' || field[3] == 'e' );
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user