Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ee772168
Commit
ee772168
authored
Feb 27, 2009
by
Georgi Kodinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addendum to the fix for bug #41354: fixed the error returned by SELECT *
parent
a9d70703
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/grant2.result
mysql-test/r/grant2.result
+1
-1
mysql-test/t/grant2.test
mysql-test/t/grant2.test
+1
-1
No files found.
mysql-test/r/grant2.result
View file @
ee772168
...
@@ -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;
...
...
mysql-test/t/grant2.test
View file @
ee772168
...
@@ -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_
COLUMN
ACCESS_DENIED_ERROR
--
error
ER_
TABLE
ACCESS_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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment