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

1. Fix for group_concat(distinct ... ) to use all unique values in a row.

2. Explicitly set array bounds for Row::hash() and Row::equals().
This commit is contained in:
Gagan Goel
2019-08-15 01:15:05 -04:00
parent 4a4d35180a
commit 6ccdb4ac10
3 changed files with 5 additions and 5 deletions

View File

@ -760,7 +760,7 @@ void GroupConcatOrderBy::initialize(const rowgroup::SP_GroupConcat& gcc)
uint64_t GroupConcatOrderBy::getKeyLength() const
{
// only distinct the concatenated columns
return fConcatColumns.size() - 1; // cols 0 to fConcatColumns will be conpared
return fConcatColumns.size(); // cols 0 to fConcatColumns.size() - 1 will be compared
}