summaryrefslogtreecommitdiff
path: root/myisammrg
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2007-03-22 22:05:19 +0300
committerunknown <evgen@moonbone.local>2007-03-22 22:05:19 +0300
commit9b774e8f8d472a5cf20c42643b342378511ed4b7 (patch)
tree7ab9dc82dca2104243ca9c1a14bd6dc6e2941943 /myisammrg
parent6d93f15039d551f291232c1b60527b00cd9c6bc9 (diff)
downloadmariadb-git-9b774e8f8d472a5cf20c42643b342378511ed4b7.tar.gz
Bug#26813: The SUPER privilege is wrongly required to alter a view created by
another user. When the DEFINER clause isn't specified in the ALTER statement then it's loaded from the view definition. If the definer differs from the current user then the error is thrown because only a super-user can set other users as a definers. Now if the DEFINER clause is omitted in the ALTER VIEW statement then the definer from the original view is used without check. mysql-test/t/view_grant.test: Added a test case for the bug#27006: The SUPER privilege is wrongly required to alter a view created by another user. mysql-test/r/view_grant.result: Added a test case for the bug#27006: The SUPER privilege is wrongly required to alter a view created by another user. sql/sql_view.cc: Bug#26813: The SUPER privilege is wrongly required to alter a view created by another user. Now if the DEFINER clause is omitted in the ALTER VIEW statement then the definer from the original view is used without check.
Diffstat (limited to 'myisammrg')
0 files changed, 0 insertions, 0 deletions