1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-1822-c final checkin

This commit is contained in:
David Hall
2019-03-05 09:33:39 -06:00
parent 9e1cec56b1
commit 3f2c753947
104 changed files with 122 additions and 31 deletions

View File

@ -212,10 +212,10 @@ void ArithmeticOperator::adjustResultType(const CalpontSystemCatalog::ColType& m
else
{
CalpontSystemCatalog::ColType n;
n.colDataType = CalpontSystemCatalog::DOUBLE;
n.colDataType = CalpontSystemCatalog::LONGDOUBLE;
n.scale = m.scale; // @bug5736, save the original decimal scale
n.precision = -1; // @bug5736, indicate this double is for decimal math
n.colWidth = 8;
n.colWidth = 16;
fResultType = n;
}
}