mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -9828,7 +9828,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