MDEV-5985: EITS: selectivity estimates look illogical for join and non-key equalities
Part#1. table_cond_selectivity() should discount selectivity of table' conditions only when ity counts that selectivity to begin with. For non-ref-based access methods (ALL/range/index_merge/etc), we start with sel=1.0 and hence do not need to discount any selectivities.
Showing
Please register or sign in to comment