1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -1484,7 +1484,7 @@ bool TupleBPS::processSingleFilterString(int8_t BOP, int8_t colWidth, T val, con
{
int8_t COP;
int64_t val2;
int128_t bigVal2;
datatypes::TSInt128 bigVal2;
bool thisPredicate;
COP = *filterString++;
filterString++; // skip the round var, don't think that applies here
@ -1512,7 +1512,7 @@ bool TupleBPS::processSingleFilterString(int8_t BOP, int8_t colWidth, T val, con
break;
case 16:
bigVal2 = *((int128_t*) filterString);
bigVal2 = reinterpret_cast<const int128_t*>(filterString);
filterString += 16;
break;
@ -1524,7 +1524,7 @@ bool TupleBPS::processSingleFilterString(int8_t BOP, int8_t colWidth, T val, con
if (static_cast<uint8_t>(colWidth) < datatypes::MAXDECIMALWIDTH)
thisPredicate = compareSingleValue(COP, (int64_t) val, val2);
else
thisPredicate = compareSingleValue(COP, (int128_t) val, bigVal2);
thisPredicate = compareSingleValue(COP, (int128_t) val, bigVal2.getValue());
if (j == 0)
ret = thisPredicate;