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

A pack of fixes for compilation errors and warnings for all platforms

Add libdatatypes.so into debian packaging
This commit is contained in:
Roman Nozdrin
2020-11-18 13:44:27 +00:00
parent 31e0909552
commit aa44bca473
13 changed files with 76 additions and 23 deletions

View File

@ -1584,7 +1584,8 @@ bool TupleBPS::processSingleFilterString(int8_t BOP, int8_t colWidth, T val, con
throw logic_error("invalid column width");
}
if (colWidth < datatypes::MAXDECIMALWIDTH)
// Assumption is that colWidth > 0
if (static_cast<uint8_t>(colWidth) < datatypes::MAXDECIMALWIDTH)
thisPredicate = compareSingleValue(COP, (int64_t) val, val2);
else
thisPredicate = compareSingleValue(COP, (int128_t) val, bigVal2);