Commit 5f2b07ef authored by Sergei Golubchik's avatar Sergei Golubchik

minor cleanup

parent ad5ddaff
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';
......
#
# 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';
......
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