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-641 Cleanup.
This commit is contained in:
@ -5148,9 +5148,9 @@ because it has multiple arguments.";
|
||||
|
||||
// adjust decimal result type according to internalDecimalScale
|
||||
bool isWideDecimal = ac->resultType().isWideDecimalType();
|
||||
// This must be also valid for UDECIMAL
|
||||
if (!isWideDecimal && gwi.internalDecimalScale >= 0
|
||||
&& ac->resultType().colDataType == CalpontSystemCatalog::DECIMAL)
|
||||
if (!isWideDecimal && gwi.internalDecimalScale >= 0 &&
|
||||
(ac->resultType().colDataType == CalpontSystemCatalog::DECIMAL ||
|
||||
ac->resultType().colDataType == CalpontSystemCatalog::UDECIMAL))
|
||||
{
|
||||
CalpontSystemCatalog::ColType ct = ac->resultType();
|
||||
ct.scale = gwi.internalDecimalScale;
|
||||
|
Reference in New Issue
Block a user