mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
dbms: fixed error with sorting FixedArray [#CONV-2944].
This commit is contained in:
parent
7e315eb5b2
commit
f0b7a9e223
@ -107,7 +107,8 @@ public:
|
|||||||
|
|
||||||
Permutation nested_perm(size * n);
|
Permutation nested_perm(size * n);
|
||||||
for (size_t i = 0; i < size; ++i)
|
for (size_t i = 0; i < size; ++i)
|
||||||
memset(&nested_perm[i * n], perm[i], n);
|
for (size_t j = 0; j < n; ++j)
|
||||||
|
nested_perm[i * n + j] = perm[i];
|
||||||
data->permute(nested_perm);
|
data->permute(nested_perm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user