You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-4721 CHAR(1) is not collation-aware for GROUP/DISTINCT
This commit is contained in:
@ -372,6 +372,15 @@ inline bool isCharType(const datatypes::SystemCatalog::ColDataType type)
|
||||
datatypes::SystemCatalog::TEXT == type);
|
||||
}
|
||||
|
||||
|
||||
inline bool typeHasCollation(const datatypes::SystemCatalog::ColDataType type)
|
||||
{
|
||||
return datatypes::SystemCatalog::VARCHAR == type ||
|
||||
datatypes::SystemCatalog::CHAR == type ||
|
||||
datatypes::SystemCatalog::TEXT == type;
|
||||
}
|
||||
|
||||
|
||||
/** convenience function to determine if column type is a
|
||||
* numeric type
|
||||
*/
|
||||
|
Reference in New Issue
Block a user