Commit e3a82154 authored by malff/marcsql@weblab.(none)'s avatar malff/marcsql@weblab.(none)
Browse files

Bug#29959 (Non-standard bison syntax in sql_yacc.yy)

In sql/sql_yacc.yy, use the %prec construct at the end of rule join_table
parent 2ecd75ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5567,7 +5567,7 @@ join_table:
          so that [INNER | CROSS] JOIN is properly nested as other
          left-associative joins.
        */
        table_ref %prec TABLE_REF_PRIORITY normal_join table_ref
        table_ref normal_join table_ref %prec TABLE_REF_PRIORITY
          { MYSQL_YYABORT_UNLESS($1 && ($$=$3)); }
	| table_ref STRAIGHT_JOIN table_factor
	  { MYSQL_YYABORT_UNLESS($1 && ($$=$3)); $3->straight=1; }