1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +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

@ -719,6 +719,18 @@ void XMLJob::initSatLimits( JobColumn& curColumn ) const
curColumn.fMinIntSat = MIN_UBIGINT;
curColumn.fMaxIntSat = MAX_UBIGINT;
}
else if ( curColumn.typeName ==
ColDataTypeStr[CalpontSystemCatalog::MEDINT] )
{
curColumn.fMinIntSat = MIN_MEDINT;
curColumn.fMaxIntSat = MAX_MEDINT;
}
else if ( curColumn.typeName ==
ColDataTypeStr[CalpontSystemCatalog::UMEDINT] )
{
curColumn.fMinIntSat = MIN_UMEDINT;
curColumn.fMaxIntSat = MAX_UMEDINT;
}
else if ( curColumn.typeName ==
ColDataTypeStr[CalpontSystemCatalog::SMALLINT] )
{