• Monty's avatar
    Fixed cost calculation for SELECT STRAIGHT_JOIN · 46c4fd45
    Monty authored
    Main fix was replacing read_time+= with read_time
    
    I also did updated the 'identical' code in optimize_straight_join) and
    best_extension_by_limited_search() to make them eaiser to compare.
    
    Reviewer: Sergei Petrunia <sergey@mariadb.com>
    46c4fd45
sql_select.cc 984 KB