summaryrefslogtreecommitdiff
path: root/mysql-test/suite/roles/grant_revoke_current.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/roles/grant_revoke_current.test')
-rw-r--r--mysql-test/suite/roles/grant_revoke_current.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/suite/roles/grant_revoke_current.test b/mysql-test/suite/roles/grant_revoke_current.test
index 96a27fd5697..0ebe0170782 100644
--- a/mysql-test/suite/roles/grant_revoke_current.test
+++ b/mysql-test/suite/roles/grant_revoke_current.test
@@ -20,5 +20,10 @@ show grants for current_role;
revoke all, grant option from current_role;
show grants for current_role;
-drop role r1;
+set password=password('foobar');
+show grants;
+grant r1 to current_user() identified by 'barfoo';
+show grants;
+set password='';
+drop role r1;