• Sergey Petrunya's avatar
    Revert these two changes (wrong push) : · 182f7d76
    Sergey Petrunya authored
    MDEV-5980: EITS: if condition is used for REF access, its selectivity is still in filtered%
    MDEV-5985: EITS: selectivity estimates look illogical for join and non-key equalities
    MDEV-6003: EITS: ref access, keypart2=const vs keypart2=expr - inconsistent filtered% value
    - Made a number of fixes in table_cond_selectivity() so that it returns
      correct selectivity estimates.
    - Added comments in related code.
    Better comments
    182f7d76
selectivity_no_engine.result 6.63 KB