1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

Revert "MCOL-1559 trailing space compare"

This reverts commit e2cb644484.
This commit is contained in:
Andrew Hutchings
2019-05-23 13:48:18 +01:00
parent 8b1c0f6101
commit 73f7307ca2

View File

@ -456,8 +456,18 @@ inline bool PredicateOperator::getBoolVal(rowgroup::Row& row, bool& isNull, Retu
isNull = false;
return !ret;
}
#if 0
if (isNull)
return false;
// MCOL-1559
const std::string& val1 = lop->getStrVal(row, isNull);
if (isNull)
return false;
return strCompare(val1, rop->getStrVal(row, isNull)) && !isNull;
#endif
// MCOL-1559
std::string val1 = lop->getStrVal(row, isNull);
if (isNull)
return false;