dbms: fixed error with sorting FixedArray [#CONV-2944].

This commit is contained in:
Alexey Milovidov 2012-08-03 20:29:31 +00:00
parent 7e315eb5b2
commit f0b7a9e223

View File

@ -107,7 +107,8 @@ public:
Permutation nested_perm(size * n);
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);
}