• Monty's avatar
    Added 'records_out' and join_type to POSITION · 2387ee9b
    Monty authored
    records_out is the numbers of rows expected to be accepted from a table.
    records_read is in contrast the number of rows that the optimizer excepts
    to read from the engine.
    
    This patch causes not plan changes. The differences in test results comes
    from renaming "records" to "records_read" and printing of record_out in
    the optimizer trace.
    
    Other things:
    - Renamed table_cond_selectivity() to table_after_join_selectivity()
      to make the purpose of the function more clear.
    2387ee9b
rowid_filter.cc 21.2 KB