• Sergei Petrunia's avatar
    MDEV-7474: Semi-Join's DuplicateWeedout strategy skipped ... · c020d362
    Sergei Petrunia authored
    JOIN::cur_dups_producing_tables was not maintained correctly in
    the cases of greedy optimization (search_depth < n_tables).
    
    Moved it to POSITION structure where it will be maintained automatically.
    
    Removed POSITION::prefix_dups_producing_tables since its value can now
    be calculated.
    c020d362
sql_select.cc 778 KB