You've already forked mariadb-columnstore-engine
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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user