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

MCOL-4306 don't compare string as signed int

This commit is contained in:
David Hall
2020-09-22 14:59:20 -05:00
parent 1c94e310ff
commit dac4fccc48

View File

@ -98,7 +98,7 @@ void ColExtInf::addOrUpdateEntry( RID lastInputRow,
}
else // Update the range
{
if (isUnsigned(colDataType))
if (isUnsigned(colDataType) || isCharType(colDataType))
{
if (static_cast<uint64_t>(minVal)
< static_cast<uint64_t>(iter->second.fMinVal))