You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
MCOL-1822 colWidth should be sizeof(long double), not hardcoded 16
This commit is contained in:
@@ -4499,7 +4499,7 @@ ReturnedColumn* buildAggregateColumn(Item* item, gp_walk_info& gwi)
|
||||
{
|
||||
CalpontSystemCatalog::ColType ct = parm->resultType();
|
||||
ct.colDataType = CalpontSystemCatalog::LONGDOUBLE;
|
||||
ct.colWidth = 16;
|
||||
ct.colWidth = sizeof(long double);
|
||||
ct.scale += 4;
|
||||
ct.precision = -1;
|
||||
ac->resultType(ct);
|
||||
@@ -4518,7 +4518,7 @@ ReturnedColumn* buildAggregateColumn(Item* item, gp_walk_info& gwi)
|
||||
{
|
||||
CalpontSystemCatalog::ColType ct = parm->resultType();
|
||||
ct.colDataType = CalpontSystemCatalog::LONGDOUBLE;
|
||||
ct.colWidth = 16;
|
||||
ct.colWidth = sizeof(long double);
|
||||
ct.precision = -1;
|
||||
ac->resultType(ct);
|
||||
}
|
||||
|
Reference in New Issue
Block a user