MySQL 9.0.0
Source Code Documentation
estimate_selectivity.h File Reference

Go to the source code of this file.

Functions

double EstimateSelectivity (THD *thd, Item *condition, const CompanionSet &companion_set)
 For the given condition, to try estimate its filtering selectivity, on a 0..1 scale (where 1.0 lets all records through). More...
 

Function Documentation

◆ EstimateSelectivity()

double EstimateSelectivity ( THD thd,
Item condition,
const CompanionSet companion_set 
)

For the given condition, to try estimate its filtering selectivity, on a 0..1 scale (where 1.0 lets all records through).