• timour@mysql.com's avatar
    Fix for BUG#13832 - Unknown column t1.a in 'on clause'. · f5354eba
    timour@mysql.com authored
    The cause for the bug is that the priorities of all rules/terminals
    that process the FROM clause are not fully specified, and the
    parser generator produces a parser that doesn't always parse
    the FROM clause so that JOINs are left-associative. As a result
    the final join tree produced by the parser is incorrect, which
    is the cause for subsequent name resolution to fail.
    f5354eba
sql_yacc.yy 233 KB