mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Revert these two changes (wrong push) :
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
This commit is contained in:
@ -3406,10 +3406,6 @@ double records_in_column_ranges(PARAM *param, uint idx,
|
||||
selectivity (this is used for conditions like "column LIKE '%val%'"
|
||||
where approaches #1 and #2 do not provide selectivity data).
|
||||
|
||||
SEE ALSO
|
||||
table_cond_selectivity()
|
||||
matching_candidates_in_table()
|
||||
|
||||
NOTE
|
||||
Currently the selectivities of range conditions over different columns are
|
||||
considered independent.
|
||||
|
Reference in New Issue
Block a user