mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
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:
@@ -996,7 +996,7 @@ SplM_plan_info * JOIN_TAB::choose_best_splitting(double record_count,
|
||||
}
|
||||
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
|
||||
|
Reference in New Issue
Block a user