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
5f2b07ef
Commit
5f2b07ef
authored
Dec 25, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cleanup
parent
ad5ddaff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/suite/roles/grant_role_auto_create_user.result
mysql-test/suite/roles/grant_role_auto_create_user.result
+0
-1
mysql-test/suite/roles/grant_role_auto_create_user.test
mysql-test/suite/roles/grant_role_auto_create_user.test
+5
-3
No files found.
mysql-test/suite/roles/grant_role_auto_create_user.result
View file @
5f2b07ef
create database db;
create role auto_create;
grant all on db.* to auto_create;
drop user foo@localhost, bar@localhost;
grant auto_create to foo@localhost;
grant auto_create to bar@localhost identified by 'baz';
set role 'auto_create';
...
...
mysql-test/suite/roles/grant_role_auto_create_user.test
View file @
5f2b07ef
#
# MDEV-5221 User auto-creation does not work upon GRANT <role>
#
--
source
include
/
not_embedded
.
inc
create
database
db
;
create
role
auto_create
;
grant
all
on
db
.*
to
auto_create
;
--
error
0
,
ER_CANNOT_USER
drop
user
foo
@
localhost
,
bar
@
localhost
;
grant
auto_create
to
foo
@
localhost
;
grant
auto_create
to
bar
@
localhost
identified
by
'baz'
;
...
...
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