summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant2.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-10-18 11:41:40 -0700
committerSergei Golubchik <sergii@pisem.net>2013-10-18 11:41:40 -0700
commitac6877d420a70e215c59f1c85cfe80c6a71cf349 (patch)
treeeacddfe96382dcd8f07d60b5e171049381247c58 /mysql-test/t/grant2.test
parent4cc8cda346bdd63c7e3882d687ba01143856b5dd (diff)
downloadmariadb-git-ac6877d420a70e215c59f1c85cfe80c6a71cf349.tar.gz
SET PASSWORD bugfixes:
* work as documented, use CURRENT_USER() * move the check for ER_PASSWORD_ANONYMOUS_USER where it can actually work
Diffstat (limited to 'mysql-test/t/grant2.test')
-rw-r--r--mysql-test/t/grant2.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/grant2.test b/mysql-test/t/grant2.test
index 6c2ba0dd6fc..51329893b3b 100644
--- a/mysql-test/t/grant2.test
+++ b/mysql-test/t/grant2.test
@@ -405,7 +405,7 @@ drop database mysqltest_1;
# But anonymous users can't change their password
connect (n5,localhost,test,,test,$MASTER_MYPORT,$MASTER_MYSOCK);
connection n5;
---error ER_PASSWORD_NO_MATCH
+--error ER_PASSWORD_ANONYMOUS_USER
set password = password("changed");
disconnect n5;
connection default;