summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-24 19:16:50 +0400
committerSergey Glukhov <Sergey.Glukhov@sun.com>2008-12-24 19:16:50 +0400
commite75ba73a0762c159984498a06580f323caa2b72c (patch)
treef56208d053065dce9c54c82f9dc7e40f0f6f1836 /mysql-test/t/grant.test
parent15015b59e4102babc2fa8a92a3a5b07528cfbeaf (diff)
parent7103f4c91631dd1e725996429a6f8ccaf4d844d8 (diff)
downloadmariadb-git-e75ba73a0762c159984498a06580f323caa2b72c.tar.gz
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index 3fac767468e..26b735856af 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -1294,6 +1294,13 @@ drop view v1;
drop table test;
drop function test_function;
+#
+# Bug#41456 SET PASSWORD hates CURRENT_USER()
+#
+SELECT CURRENT_USER();
+SET PASSWORD FOR CURRENT_USER() = PASSWORD("admin");
+SET PASSWORD FOR CURRENT_USER() = PASSWORD("");
+
--echo End of 5.0 tests
#