mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
The pilot implementation of mwl#250: Use the statistics from persistent
statistical tables instead of the statistics provided by engine.
This commit is contained in:
@ -1201,7 +1201,7 @@ bool DsMrr_impl::setup_buffer_sharing(uint key_size_in_keybuf,
|
||||
uint parts= my_count_bits(key_tuple_map);
|
||||
ulong rpc;
|
||||
ulonglong rowids_size= rowid_buf_elem_size;
|
||||
if ((rpc= key_info->rec_per_key[parts - 1]))
|
||||
if ((rpc= key_info->real_rec_per_key(parts - 1)))
|
||||
rowids_size= rowid_buf_elem_size * rpc;
|
||||
|
||||
double fraction_for_rowids=
|
||||
|
Reference in New Issue
Block a user