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

MCOL-641 This commit cleans up Row methods and adds couple UT for Row.

This commit is contained in:
Roman Nozdrin
2020-02-20 22:28:38 +00:00
parent b07db9a8f4
commit de85e21c38
9 changed files with 196 additions and 97 deletions

View File

@ -716,7 +716,9 @@ void SimpleColumn::evaluate(Row& row, bool& isNull)
case CalpontSystemCatalog::BINARY:
{
fResult.strVal = row.getBinaryField(fInputIndex);
// WIP MCOL-641 Binary representation could contain \0.
std::string value(row.getBinaryField<char>(fInputIndex));
fResult.strVal.swap(value);
break;
}