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

Merge pull request #777 from mariadb-corporation/MCOL-3304

MCOL-3304 During prepAggregate, if you set type to LONGDOUBLE, set sc…
This commit is contained in:
Andrew Hutchings
2019-06-10 14:02:09 +01:00
committed by GitHub
2 changed files with 19 additions and 18 deletions

View File

@ -386,6 +386,7 @@ void WindowFunctionColumn::adjustResultType()
fResultType.colDataType = CalpontSystemCatalog::LONGDOUBLE;
fResultType.colWidth = sizeof(long double);
fResultType.precision = -1;
fResultType.scale = 0;
}
}