• Monty's avatar
    Fixes some issues in Firstmatch optimization · 2eb6b801
    Monty authored
    Allows FirstMatch to handle the case where the fanout of firstmatch tables
    is already less than 1.
    Also Fixes LooseScan strategy to set position->{records_init, records_out}
    (They were set to 0 which also caused assertion failures)
    
    Author: Sergei Petrunia <sergey@mariadb.com>
    Reviewer: Monty
    2eb6b801
opt_subselect.cc 246 KB