MDEV-25251: main.derived_split_innodb fails on ICC release binary
The code compares two query plans with identical costs, the plan with lateral is the same as one without. Introduce a small difference to cost numbers to prefer non-lateral plan in this case.
This commit is contained in:
parent
76d2846a71
commit
5b678d9ea4
@ -996,7 +996,7 @@ SplM_plan_info * JOIN_TAB::choose_best_splitting(double record_count,
|
|||||||
}
|
}
|
||||||
if (spl_plan)
|
if (spl_plan)
|
||||||
{
|
{
|
||||||
if(record_count * spl_plan->cost < spl_opt_info->unsplit_cost)
|
if(record_count * spl_plan->cost < spl_opt_info->unsplit_cost - 0.01)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
The best plan that employs splitting is cheaper than
|
The best plan that employs splitting is cheaper than
|
||||||
|
Loading…
x
Reference in New Issue
Block a user