• unknown's avatar
    Fixed BUG#14719: Views DEFINER grammar is incorrect · b5e8347f
    unknown authored
      Corrected the syntax for the current_user() case.
      (It's "definer = current_user[()]", not just "current_user[()]".)
    
    
    mysql-test/r/view.result:
      New test case for BUG#14719
    mysql-test/t/view.test:
      New test case for BUG#14719
    sql/sql_yacc.yy:
      Corrected the CREATE VIEW syntax for the current_user() DEFINER case.
      (It's "definer = current_user[()]", not just "current_user[()]".)
    b5e8347f
sql_yacc.yy 233 KB