mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Merge 5.5 -> 5.5-mwl248.
This commit is contained in:
commit
8d612adf70
86 changed files with 8317 additions and 126 deletions
|
|
@ -3812,7 +3812,7 @@ uint JOIN_TAB_SCAN_MRR::aux_buffer_incr(ulong recno)
|
|||
uint incr= 0;
|
||||
TABLE_REF *ref= &join_tab->ref;
|
||||
TABLE *tab= join_tab->table;
|
||||
uint rec_per_key= tab->key_info[ref->key].rec_per_key[ref->key_parts-1];
|
||||
uint rec_per_key= tab->key_info[ref->key].real_rec_per_key(ref->key_parts-1);
|
||||
set_if_bigger(rec_per_key, 1);
|
||||
if (recno == 1)
|
||||
incr= ref->key_length + tab->file->ref_length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue