• Sergei Petrunia's avatar
    Code cleanup in/around check_interleaving_with_nj() · 730eb1c4
    Sergei Petrunia authored
    - In best_extension_by_limited_search(), do not check for
      "(remaining_tables & real_table_bit)", it is guaranteed to be true.
      Make it an assert.
    - In (!idx || check_interleaving_with_nj())", remove the !idx part.
      This check made sense only in the original version of this function.
    - "micro optimization" in check_interleaving_with_nj().
    730eb1c4
sql_select.cc 913 KB