mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.4 into 10.5
A conflict between MDEV-19514 (b42294bc64
) and MDEV-20934 (d7a2401750
) was resolved. We will not invoke the function ibuf_delete_recs() from ibuf_merge_or_delete_for_page(). Instead, we will add that logic to the function ibuf_read_merge_pages().
This commit is contained in:
@ -9831,7 +9831,10 @@ prev_record_reads(const POSITION *positions, uint idx, table_map found_ref)
|
||||
#max_nested_outer_joins=64-1) will not make it any more precise.
|
||||
*/
|
||||
if (pos->records_read)
|
||||
{
|
||||
found= COST_MULT(found, pos->records_read);
|
||||
found*= pos->cond_selectivity;
|
||||
}
|
||||
}
|
||||
}
|
||||
return found;
|
||||
|
Reference in New Issue
Block a user