diff options
author | unknown <pem@mysql.comhem.se> | 2004-03-02 11:52:19 +0100 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-03-02 11:52:19 +0100 |
commit | 857b59578c61a15b842f30c1a9b1e0fad8c868a3 (patch) | |
tree | e4d37d943a0f8050bd32aafb3fa2b7f3bdb4148e /sql/sql_update.cc | |
parent | 23a6b4ed825b2ace2e4a81b6103f324a9300b301 (diff) | |
download | mariadb-git-857b59578c61a15b842f30c1a9b1e0fad8c868a3.tar.gz |
Fixed BUG#2777: Stored procedure doesn't observe definer's rights.
SQL SECURITY DEFINER must enforce reduced rights too, not just additional rights.
mysql-test/r/sp-security.result:
Test case for BUG#2777: Make sure that SQL SECURITY DEFINER enforces reduced rights.
mysql-test/t/sp-security.test:
Test case for BUG#2777: Make sure that SQL SECURITY DEFINER enforces reduced rights.
sql/sql_acl.cc:
Clear rights before changing them in acl_getroot_no_password so that
reduced rights work too, and take care of db acls as well.
Diffstat (limited to 'sql/sql_update.cc')
0 files changed, 0 insertions, 0 deletions