Commit 6fd4fa7d authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 11.0 into 11.1

parents 2e267a4a d1e230d9
...@@ -11192,7 +11192,7 @@ double table_after_join_selectivity(JOIN *join, uint idx, JOIN_TAB *s, ...@@ -11192,7 +11192,7 @@ double table_after_join_selectivity(JOIN *join, uint idx, JOIN_TAB *s,
else else
{ {
sel= records_out / pos->records_read; 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) if (sel > 1.0)
sel= 1.0; sel= 1.0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment