Commit 0dd4b4d8 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix trivial error in previous push

parent 006b863d
...@@ -1054,11 +1054,9 @@ void DsMrr_impl::setup_buffer_sizes(uint key_size_in_keybuf, ...@@ -1054,11 +1054,9 @@ void DsMrr_impl::setup_buffer_sizes(uint key_size_in_keybuf,
*/ */
uint parts= my_count_bits(key_tuple_map); uint parts= my_count_bits(key_tuple_map);
ulong rpc; ulong rpc;
ulonglong rowids_size; ulonglong rowids_size= rowid_buf_elem_size;
if ((rpc= key_info->rec_per_key[parts - 1])) if ((rpc= key_info->rec_per_key[parts - 1]))
{
rowids_size= rowid_buf_elem_size * rpc; rowids_size= rowid_buf_elem_size * rpc;
}
double fraction_for_rowids= double fraction_for_rowids=
(ulonglong2double(rowids_size) / (ulonglong2double(rowids_size) /
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment