• Monty's avatar
    Return >= 1 from matching_candidates_in_table if records > 0.0 · bc9805e9
    Monty authored
    Having rows >= 1.0 helps ensure that when we calculate total rows of joins
    the number of resulting rows will not be less after the join.
    
    Changes in test cases:
    - Join order change for some tables with few records
    - 'Filtered' is much higher for tables with few rows, as 1 row is a high
      procent of a table with few rows.
    bc9805e9
selectivity_innodb.result 104 KB