Commit 6a2ebf11 authored by davi@endora.local's avatar davi@endora.local

Merge mysql.com:/Users/davi/mysql/bugs/34108-5.1

into  mysql.com:/Users/davi/mysql/mysql-5.1-bugteam
parents e293389f 6a468737
...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost'; ...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost';
DROP PROCEDURE sp3; DROP PROCEDURE sp3;
DROP FUNCTION fn1; DROP FUNCTION fn1;
Warnings: Warnings:
Error 1133 Can't find any matching row in the user table Warning 1403 There is no such grant defined for user 'user_1' on host 'localhost' on routine 'fn1'
Error 1269 Can't revoke all privileges for one or more of the requested users
Warning 1405 Failed to revoke all privileges to dropped routine
Testcase 3.1.6.4: Testcase 3.1.6.4:
----------------- -----------------
......
...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost'; ...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost';
DROP PROCEDURE sp3; DROP PROCEDURE sp3;
DROP FUNCTION fn1; DROP FUNCTION fn1;
Warnings: Warnings:
Error 1133 Can't find any matching row in the user table Warning 1403 There is no such grant defined for user 'user_1' on host 'localhost' on routine 'fn1'
Error 1269 Can't revoke all privileges for one or more of the requested users
Warning 1405 Failed to revoke all privileges to dropped routine
Testcase 3.1.6.4: Testcase 3.1.6.4:
----------------- -----------------
......
...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost'; ...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost';
DROP PROCEDURE sp3; DROP PROCEDURE sp3;
DROP FUNCTION fn1; DROP FUNCTION fn1;
Warnings: Warnings:
Error 1133 Can't find any matching row in the user table Warning 1403 There is no such grant defined for user 'user_1' on host 'localhost' on routine 'fn1'
Error 1269 Can't revoke all privileges for one or more of the requested users
Warning 1405 Failed to revoke all privileges to dropped routine
Testcase 3.1.6.4: Testcase 3.1.6.4:
----------------- -----------------
......
...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost'; ...@@ -132,9 +132,7 @@ drop user 'user_1'@'localhost';
DROP PROCEDURE sp3; DROP PROCEDURE sp3;
DROP FUNCTION fn1; DROP FUNCTION fn1;
Warnings: Warnings:
Error 1133 Can't find any matching row in the user table Warning 1403 There is no such grant defined for user 'user_1' on host 'localhost' on routine 'fn1'
Error 1269 Can't revoke all privileges for one or more of the requested users
Warning 1405 Failed to revoke all privileges to dropped routine
Testcase 3.1.6.4: Testcase 3.1.6.4:
----------------- -----------------
......
...@@ -148,6 +148,10 @@ USE db_storedproc_1; ...@@ -148,6 +148,10 @@ USE db_storedproc_1;
drop user 'user_1'@'localhost'; drop user 'user_1'@'localhost';
DROP PROCEDURE sp3; DROP PROCEDURE sp3;
# This drop function shouldn't generated a warning as the
# privileges should have been removed when the user was
# dropped. Reported as Bug#36544 DROP USER does not remove
# stored function privileges
DROP FUNCTION fn1; DROP FUNCTION fn1;
......
...@@ -9,8 +9,3 @@ ...@@ -9,8 +9,3 @@
# Don't use any TAB characters for whitespace. # Don't use any TAB characters for whitespace.
# #
############################################################################## ##############################################################################
innodb_storedproc_06 : bug#33464 DROP FUNCTION let server hang
myisam_storedproc_06 : bug#33464 DROP FUNCTION let server hang
memory_storedproc_06 : bug#33464 DROP FUNCTION let server hang
ndb_storedproc_06 : bug#33464 DROP FUNCTION let server hang
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment