• Igor Babaev's avatar
    Fixed bug mdev-10454. · 00ab154d
    Igor Babaev authored
    The patch actually fixes the old defect of the optimizer that
    could not extract keys for range access from IN predicates
    with row arguments.
    
    This problem was resolved in the mysql-5.7 code. The patch
    supersedes what was done there:
     - it can build range access when not all components of
     the first row argument are refer to the columns of the table
     for which the range access is constructed.
     - it can use equality predicates to build range access
     to the table that is not referred to in this argument.
    00ab154d
sql_select.cc 854 KB