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

MCOl-3536 Collation phase 2

This commit is contained in:
David Hall
2020-06-15 11:08:59 -05:00
parent 165ae4a6f3
commit d0818f2b4e
6 changed files with 40 additions and 25 deletions

View File

@ -75,7 +75,7 @@ std::string Func_substr::getStrVal(rowgroup::Row& row,
int64_t length;
if (fp.size() == 3)
{
int64_t length = fp[2]->data()->getIntVal(row, isNull);
length = fp[2]->data()->getIntVal(row, isNull);
if (isNull)
return "";
if (length < 1)