Take into account that the table's WHERE clause has conditions on earlier tables that can reduce the number of accepted rows. @param records Number of original rows (after selectivity) If there is a filtering condition on the table (i.e. ref analyzer found at least one "table.keyXpartY= exprZ", where exprZ refers only to tables preceding this table in the join order we're now consider
| 8332 | this table in join order. |
| 8333 | */ |
| 8334 | inline double use_found_constraint(double records) |
| 8335 | { |
| 8336 | records-= records/4; |
| 8337 | return records ? MY_MAX(records, MIN_ROWS_AFTER_FILTERING) : 0.0; |
| 8338 | } |
| 8339 | |
| 8340 | |
| 8341 | /* |