1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

MCOL-641 Cleanup.

This commit is contained in:
Gagan Goel
2021-07-05 15:47:12 +00:00
parent 74bdf522d1
commit 8520f87237
29 changed files with 59 additions and 85 deletions

View File

@@ -1023,14 +1023,13 @@ bool Row::isNullValue(uint32_t colIndex) const
case CalpontSystemCatalog::DECIMAL:
case CalpontSystemCatalog::UDECIMAL:
{
// WIP MCOL-641 Allmighty hack.
// TODO MCOL-641 Allmighty hack.
switch (getColumnWidth(colIndex))
{
// MCOL-641
case 16:
return isNullValue_offset
<execplan::CalpontSystemCatalog::DECIMAL,16>(offsets[colIndex]);
case 1 :
return (data[offsets[colIndex]] == joblist::TINYINTNULL);