• timour@mysql.com's avatar
    Fix for BUG#15229. · 103604ed
    timour@mysql.com authored
    The cause of this bug was a design flaw due to which the list of natural
    join columns was incorrectly computed and stored for nested joins that
    are not natural joins, but are operands (possibly indirect) of nested joins.
    
    The patch corrects the flaw in a such a way, that the result columns of a
    table reference are materialized only if it is a leaf table (that is, only
    if it is a view, stored table, or natural/using join).
    103604ed
sql_base.cc 159 KB