summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/bug38347.inc
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/include/bug38347.inc')
-rw-r--r--mysql-test/include/bug38347.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/include/bug38347.inc b/mysql-test/include/bug38347.inc
new file mode 100644
index 00000000..99800849
--- /dev/null
+++ b/mysql-test/include/bug38347.inc
@@ -0,0 +1,17 @@
+
+--echo
+SHOW GRANTS FOR mysqltest_u1@localhost;
+
+--connect (con1,localhost,mysqltest_u1,,mysqltest_db1)
+--connection con1
+
+--echo
+SHOW CREATE TABLE t1;
+
+--connection default
+
+--disconnect con1
+
+--echo
+REVOKE ALL PRIVILEGES, GRANT OPTION FROM mysqltest_u1@localhost;
+SHOW GRANTS FOR mysqltest_u1@localhost;