summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant5.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/grant5.test')
-rw-r--r--mysql-test/t/grant5.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/grant5.test b/mysql-test/t/grant5.test
new file mode 100644
index 00000000000..db953d97fb3
--- /dev/null
+++ b/mysql-test/t/grant5.test
@@ -0,0 +1,7 @@
+-- source include/not_embedded.inc
+
+#
+# MDEV-6625 SHOW GRANTS for current_user_name@wrong_host_name
+#
+--error ER_NONEXISTING_GRANT
+SHOW GRANTS FOR root@invalid_host;