• Alexander Barkov's avatar
    MDEV-32219 Shift/reduce grammar conflict: GRANT .. ON FUNCTION · 19885128
    Alexander Barkov authored
    Resolving the shift/reduce conflict conflict in:
    
    GRANT ..  ON /*ambiguity*/ FUNCTION f1 TO foo@localhost;
    GRANT ... ON /*ambiguity*/ [TABLE] function TO foo@localhost;
    
    and in
    
    REVOKE ..  ON /*ambiguity*/ FUNCTION f1 TO foo@localhost;
    REVOKE ... ON /*ambiguity*/ [TABLE] function TO foo@localhost;
    
    using a new %prec directive.
    19885128
sql_yacc.yy 594 KB