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

MCOL-3536 collation

This commit is contained in:
David Hall
2020-06-08 16:09:46 -05:00
parent 236b92d706
commit 938ee6d308
3 changed files with 23 additions and 22 deletions

View File

@ -103,21 +103,21 @@ string Func_concat_ws::getStrVal(Row& row,
#endif
string str;
string tmp;
// Work on reallocation. use std::string::resize() to
// grab larger chunks in some intellegent manner.
for ( uint32_t i = 1 ; i < parm.size() ; i++)
{
stringValue(parm[i], row, isNull, tmp);
str += tmp;
stringValue(parm[i], row, isNull, tmp);
if (isNull)
{
isNull = false;
continue;
}
if (!str.empty() && !isNull)
if (!str.empty())
str += delim;
// TODO: Work on string reallocation. Use std::string::resize() to
// grab larger chunks in some intellegent manner.
str += tmp;
}
if (str.empty())