1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-1822 colWidth should be sizeof(long double), not hardcoded 16

This commit is contained in:
David Hall
2019-03-05 09:49:11 -06:00
parent b7606139d7
commit 0ea4ccfe06
3 changed files with 5 additions and 5 deletions

View File

@ -215,7 +215,7 @@ void ArithmeticOperator::adjustResultType(const CalpontSystemCatalog::ColType& m
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 = 16;
n.colWidth = sizeof(long double);
fResultType = n;
}
}