Commit 494a7641 authored by Georgi Kodinov's avatar Georgi Kodinov

addendum to the fix for bug #41354: fixed the error returned by SELECT *

parent b337ac28
...@@ -433,7 +433,7 @@ USE db1; ...@@ -433,7 +433,7 @@ USE db1;
SELECT c FROM t2; SELECT c 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 column 'c' in table 't2'
SELECT * FROM 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); SELECT * FROM t1 JOIN t2 USING (b);
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 column 'c' in table 't2'
USE test; USE test;
......
...@@ -615,7 +615,7 @@ connection conn1; ...@@ -615,7 +615,7 @@ connection conn1;
USE db1; USE db1;
--error ER_COLUMNACCESS_DENIED_ERROR --error ER_COLUMNACCESS_DENIED_ERROR
SELECT c FROM t2; SELECT c FROM t2;
--error ER_COLUMNACCESS_DENIED_ERROR --error ER_TABLEACCESS_DENIED_ERROR
SELECT * FROM t2; SELECT * FROM t2;
--error ER_COLUMNACCESS_DENIED_ERROR --error ER_COLUMNACCESS_DENIED_ERROR
SELECT * FROM t1 JOIN t2 USING (b); SELECT * FROM t1 JOIN t2 USING (b);
......
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