summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorunknown <svoj@may.pils.ru>2006-08-11 14:41:07 +0500
committerunknown <svoj@may.pils.ru>2006-08-11 14:41:07 +0500
commit6071b686b179d1fcc96cd6ccce940d62bd509c70 (patch)
tree5f0b1cfa6f95543a39509fb2fb3912722268dc02 /mysql-test/t/grant.test
parent145dd58d3c901d1abf0330830d5328b7353df23e (diff)
downloadmariadb-git-6071b686b179d1fcc96cd6ccce940d62bd509c70.tar.gz
Extended a test case for bug#7391.
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index a9d52f559ca..73857d8ab69 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -362,6 +362,8 @@ revoke all on mysqltest_2.t2 from mysqltest_3@localhost;
#test the db/table level privileges
grant all on mysqltest_2.* to mysqltest_3@localhost;
grant select on *.* to mysqltest_3@localhost;
+# Next grant is needed to trigger bug#7391. Do not optimize!
+grant select on mysqltest_2.t1 to mysqltest_3@localhost;
flush privileges;
disconnect conn1;
connect (conn2,localhost,mysqltest_3,,);