1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

MCOL-270 Add support for MEDIUMINT data type

This commit is contained in:
Gagan Goel
2018-12-30 19:07:20 -05:00
parent 90b43f9fc7
commit d1ada75395
22 changed files with 206 additions and 23 deletions

View File

@@ -325,6 +325,7 @@ inline bool isEmptyVal<4>(uint8_t type, const uint8_t* ival)
return (joblist::CHAR4EMPTYROW == *val);
case CalpontSystemCatalog::UINT:
case CalpontSystemCatalog::UMEDINT:
return (joblist::UINTEMPTYROW == *val);
default:
@@ -445,6 +446,7 @@ inline bool isNullVal<4>(uint8_t type, const uint8_t* ival)
return (joblist::DATENULL == *val);
case CalpontSystemCatalog::UINT:
case CalpontSystemCatalog::UMEDINT:
return (joblist::UINTNULL == *val);
default:
@@ -550,6 +552,7 @@ inline bool isMinMaxValid(const NewColRequestHeader* in)
case CalpontSystemCatalog::TINYINT:
case CalpontSystemCatalog::SMALLINT:
case CalpontSystemCatalog::MEDINT:
case CalpontSystemCatalog::INT:
case CalpontSystemCatalog::DATE:
case CalpontSystemCatalog::BIGINT:
@@ -557,6 +560,7 @@ inline bool isMinMaxValid(const NewColRequestHeader* in)
case CalpontSystemCatalog::TIME:
case CalpontSystemCatalog::UTINYINT:
case CalpontSystemCatalog::USMALLINT:
case CalpontSystemCatalog::UMEDINT:
case CalpontSystemCatalog::UINT:
case CalpontSystemCatalog::UBIGINT:
return true;