Commit 1bd8b867 authored by MySQL Build Team's avatar MySQL Build Team

Backport into build-201002030816-5.0.87sp1

> ------------------------------------------------------------
> revno: 2818.1.38
> revision-id: joro@sun.com-20091127160731-6h2fahbh4409i841
> parent: joro@sun.com-20091127143622-bqfsmhhr2pqodsm2
> committer: Georgi Kodinov <joro@sun.com>
> branch nick: fix-5.0-bugteam
> timestamp: Fri 2009-11-27 18:07:31 +0200
> message:
>   Addendum to bug #48872: disable output in the test case because errors are 
>   dependent on the case mode
parent 9978defd
...@@ -558,15 +558,10 @@ SELECT F_TEST(); ...@@ -558,15 +558,10 @@ SELECT F_TEST();
F_TEST() F_TEST()
123 123
SELECT * FROM TestTab; SELECT * FROM TestTab;
ERROR 42000: SELECT command denied to user 'Tester'@'localhost' for table 'TestTab'
SELECT `f_Test`(); SELECT `f_Test`();
ERROR 42000: execute command denied to user 'Tester'@'%' for routine 'B48872.f_Test'
SELECT `F_TEST`(); SELECT `F_TEST`();
ERROR 42000: execute command denied to user 'Tester'@'%' for routine 'B48872.f_Test'
SELECT f_Test(); SELECT f_Test();
ERROR 42000: execute command denied to user 'Tester'@'%' for routine 'B48872.f_Test'
SELECT F_TEST(); SELECT F_TEST();
ERROR 42000: execute command denied to user 'Tester'@'%' for routine 'B48872.f_Test'
SELECT `f_Test_denied`(); SELECT `f_Test_denied`();
`f_Test_denied`() `f_Test_denied`()
123 123
......
...@@ -921,6 +921,7 @@ SELECT F_TEST(); ...@@ -921,6 +921,7 @@ SELECT F_TEST();
CONNECTION con_tester_denied; CONNECTION con_tester_denied;
--disable_result_log
--error ER_TABLEACCESS_DENIED_ERROR --error ER_TABLEACCESS_DENIED_ERROR
SELECT * FROM TestTab; SELECT * FROM TestTab;
--error ER_PROCACCESS_DENIED_ERROR --error ER_PROCACCESS_DENIED_ERROR
...@@ -931,6 +932,7 @@ SELECT `F_TEST`(); ...@@ -931,6 +932,7 @@ SELECT `F_TEST`();
SELECT f_Test(); SELECT f_Test();
--error ER_PROCACCESS_DENIED_ERROR --error ER_PROCACCESS_DENIED_ERROR
SELECT F_TEST(); SELECT F_TEST();
--enable_result_log
SELECT `f_Test_denied`(); SELECT `f_Test_denied`();
SELECT `F_TEST_DENIED`(); SELECT `F_TEST_DENIED`();
......
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