• unknown's avatar
    Fixed bug #16081: row equalities were not taken into · 608c3453
    unknown authored
    account by the optimizer.
    Now all row equalities are converted into conjunctions of
    equalities between row elements. They are taken into account
    by the optimizer together with the original regular equality
    predicates.
    
    
    mysql-test/r/join_outer.result:
      Adjusted results after fix for bug #16081.
    mysql-test/r/row.result:
      Added a test cases for bug #16081.
    mysql-test/t/row.test:
      Added a test cases for bug #16081.
    sql/sql_list.h:
      Corrected the copy constructor for the class base_list.
      The previous implementation resulted in creation of an
      inconsistent base_list if the source list was empty.
    608c3453
sql_select.cc 461 KB