summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorSinisa@sinisa.nasamreza.org <>2003-01-11 18:02:10 +0200
committerSinisa@sinisa.nasamreza.org <>2003-01-11 18:02:10 +0200
commit6b386c08a5c2c7dc3e379b1160d82da6f1688d05 (patch)
tree58c436966f788115f569a0ceeaba993ea07aaef3 /mysql-test/t/grant.test
parentb6b2fbe9c741b1a9feb1d3bee7cb1dd92701d744 (diff)
downloadmariadb-git-6b386c08a5c2c7dc3e379b1160d82da6f1688d05.tar.gz
Fix for a bug in SHOW GRANTS when :
grant on database.* to xx@yy with grant option; is done.
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index 7ee3b08cc3b..bd04b2e4c41 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -39,3 +39,6 @@ show grants for mysqltest_1@localhost;
revoke all privileges on mysqltest.* from mysqltest_1@localhost;
delete from mysql.user where user='mysqltest_1';
flush privileges;
+grant usage on test.* to user@localhost with grant option;
+show grants for user@localhost;
+