#At file:///Users/kgeorge/mysql/work/B41354-merge-5.0-bugteam/ based on revid:kgeorge@stripped
2768 Georgi Kodinov 2009-02-27
addendum to the fix for bug #41354: fixed the error returned by SELECT *
modified:
mysql-test/r/grant2.result
mysql-test/t/grant2.test
=== modified file 'mysql-test/r/grant2.result'
--- a/mysql-test/r/grant2.result 2009-02-02 21:20:25 +0000
+++ b/mysql-test/r/grant2.result 2009-02-27 07:41:39 +0000
@@ -433,7 +433,7 @@ USE db1;
SELECT c FROM t2;
ERROR 42000: SELECT command denied to user 'mysqltest1'@'localhost' for column 'c' in table 't2'
SELECT * FROM t2;
-ERROR 42000: SELECT command denied to user 'mysqltest1'@'localhost' for column 'c' in table 't2'
+ERROR 42000: SELECT command denied to user 'mysqltest1'@'localhost' for table 't2'
SELECT * FROM t1 JOIN t2 USING (b);
ERROR 42000: SELECT command denied to user 'mysqltest1'@'localhost' for column 'c' in table 't2'
USE test;
=== modified file 'mysql-test/t/grant2.test'
--- a/mysql-test/t/grant2.test 2009-02-02 21:20:25 +0000
+++ b/mysql-test/t/grant2.test 2009-02-27 07:41:39 +0000
@@ -615,7 +615,7 @@ connection conn1;
USE db1;
--error ER_COLUMNACCESS_DENIED_ERROR
SELECT c FROM t2;
---error ER_COLUMNACCESS_DENIED_ERROR
+--error ER_TABLEACCESS_DENIED_ERROR
SELECT * FROM t2;
--error ER_COLUMNACCESS_DENIED_ERROR
SELECT * FROM t1 JOIN t2 USING (b);
Attachment: [text/bzr-bundle] bzr/kgeorge@mysql.com-20090227074139-wi0n1xo9xd2jax6l.bundle
| Thread |
|---|
| • bzr commit into mysql-5.0-bugteam branch (kgeorge:2768) Bug#41354 | Georgi Kodinov | 27 Feb |