• unknown's avatar
    support of view underlying tables and SP functions security check added (BUG#9505) (WL#2787) · 9c6c527c
    unknown authored
    
    mysql-test/r/information_schema.result:
      error message changed
    mysql-test/r/sp.result:
      error message changed
    mysql-test/r/sql_mode.result:
      fixed test suite
    mysql-test/r/view.result:
      error message changed
    mysql-test/r/view_grant.result:
      test of underlying view tables check
    mysql-test/t/sql_mode.test:
      fixed test suite
    mysql-test/t/view_grant.test:
      test of underlying view tables check
    sql/item.cc:
      check of underlying tables privilege added
    sql/item.h:
      Name the resolution context points to the security  context of view (if item belong to the view)
    sql/item_func.cc:
      a view error hiding for execution of prepared function belonged to a view
      fixed checking privileges if stored functions belonds to some view
    sql/mysql_priv.h:
      refult of derived table processing functions changed to bool
      Security_context added as an argument to find_field_in_table()
    sql/share/errmsg.txt:
      error message fixed
    sql/sq...
    9c6c527c
item.h 69.9 KB