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-4791 Fix ColumnCommand fudged data type format to clearly identify CHAR vs VARCHAR
This commit is contained in:
@ -524,12 +524,12 @@ inline bool isMinMaxValid(const NewColRequestHeader* in)
|
||||
switch (in->colType.DataType)
|
||||
{
|
||||
case CalpontSystemCatalog::CHAR:
|
||||
return (in->colType.DataSize < 9);
|
||||
return !in->colType.isDict();
|
||||
|
||||
case CalpontSystemCatalog::VARCHAR:
|
||||
case CalpontSystemCatalog::BLOB:
|
||||
case CalpontSystemCatalog::TEXT:
|
||||
return (in->colType.DataSize < 8);
|
||||
return !in->colType.isDict();
|
||||
|
||||
case CalpontSystemCatalog::TINYINT:
|
||||
case CalpontSystemCatalog::SMALLINT:
|
||||
|
Reference in New Issue
Block a user