Bug #34108 "Drop function" (test "storedproc_06") returns different message (all handlers)
| Submitted: | 28 Jan 2008 16:50 | Modified: | 14 May 2008 15:51 |
|---|---|---|---|
| Reporter: | Joerg Bruehe | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Tests: Engine | Severity: | S3 (Non-critical) |
| Version: | 5.1.23-rc | OS: | Any |
| Assigned to: | Davi Arnaut | CPU Architecture: | Any |
[28 Jan 2008 16:50]
Joerg Bruehe
[2 May 2008 20:09]
Matthias Leich
IMHO
- neither the old expected nor the new results of this
test can be correct
- a statement sequence of
1. 'user_1'@'localhost': Create PROCEDURE sp3
2. 'user_1'@'localhost': Create FUNCTION fn1
3. Root: drop user 'user_1'@'localhost';
4. Root: DROP PROCEDURE sp3;
5. DROP FUNCTION fn1;
must not end with Warnings like
Warning 1403 There is no such grant defined
for user 'user_1' on host 'localhost'
on routine 'fn1'
[6 May 2008 14:47]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/46394 ChangeSet@1.2609, 2008-05-06 11:46:43-03:00, davi@mysql.com +5 -0 Bug#34108 "Drop function" (test "storedproc_06") returns different message (all handlers) The problem is that the patch for Bug 33464 didn't update the results of the test cases which caused the problem. Dropping a stored routine also revoke privileges for all users on the stored routine and errors about missing grants are converted into warnings. Before Bug 33464 such errors could be incorrectly returned to the user, which would later trigger a assertion due to multiple errors being set.
[6 May 2008 18:43]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/46422 ChangeSet@1.2609, 2008-05-06 15:43:13-03:00, davi@mysql.com +6 -0 Bug#34108 "Drop function" (test "storedproc_06") returns different message (all handlers) The problem is that the patch for Bug 33464 didn't update the results of the test cases which caused the problem. Dropping a stored routine also revoke privileges for all users on the stored routine and errors about missing grants are converted into warnings. Before Bug 33464 such errors could be incorrectly returned to the user, which would later trigger a assertion due to multiple errors being set.
[6 May 2008 20:10]
Davi Arnaut
Queued to 5.1-bugteam
[14 May 2008 15:21]
Bugs System
Pushed into 5.1.25-rc
[14 May 2008 15:51]
Paul DuBois
Test suite change. No changelog entry needed.
[22 May 2008 9:49]
Bugs System
Pushed into 6.0.6-alpha
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.069 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.