1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-07 17:42:39 +03:00
Files
mariadb/mysql-test/t/acl_roles_default_create_user_not_role.test
Vicențiu Ciorbaru d96e7fa765 Added testcase for acl_roles.
The testcase checks to see if the create user command sets the is_role column
to 'N' by default
2013-10-17 20:45:11 -07:00

10 lines
263 B
Plaintext

connect (mysql, localhost, root,,);
use mysql;
create user 'test'@'localhost';
#check to see if a created user is not a role by default
select user, host, is_role from user where user='test' and host='localhost';
drop user 'test'@'localhost';
disconnect mysql;