Merge 11.0 into 11.1

This commit is contained in:
Marko Mäkelä 2024-05-20 11:05:03 +03:00
commit 6fd4fa7d71

View file

@ -11192,7 +11192,7 @@ double table_after_join_selectivity(JOIN *join, uint idx, JOIN_TAB *s,
else
{
sel= records_out / pos->records_read;
DBUG_ASSERT(sel >= 0.0 and sel <= 1.00001);
DBUG_ASSERT(sel >= 0.0 && sel <= 1.00001);
if (sel > 1.0)
sel= 1.0;
}