• unknown's avatar
    test of DELETE privilege and cyclic reference added in case of altering view (BUG#5148) · e99d1415
    unknown authored
    fixed ALTER VIEW syntax
    fixed WITH CHECK OPTION clause printing in SHOW CREATE VIEW
    
    
    mysql-test/r/view.result:
      test of VIEW altering
    mysql-test/t/view.test:
      test of VIEW altering
    sql/lex.h:
      explicitly mentioned undefined algorithm
    sql/sql_show.cc:
      explicitly mentioned undefined algorithm
      added printing WITH CHECK OPTION clause
    sql/sql_view.cc:
      test of DELETE privilege and cyclic reference added in case of altering view
      effective and requested WITH CHECK OPTION parameters divided
    sql/sql_yacc.yy:
      fixed ALTER VIEW
    sql/table.cc:
      effective and requested WITH CHECK OPTION parameters divided
    sql/table.h:
      effective and requested WITH CHECK OPTION parameters divided
    e99d1415
view.test 36.3 KB