mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 11.0 into 11.1
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user