summaryrefslogtreecommitdiff
path: root/mysql-test/main/alter_user.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/alter_user.test')
-rw-r--r--mysql-test/main/alter_user.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/main/alter_user.test b/mysql-test/main/alter_user.test
index 1e9a9b5625b..5a05a671277 100644
--- a/mysql-test/main/alter_user.test
+++ b/mysql-test/main/alter_user.test
@@ -55,6 +55,9 @@ select * from mysql.user where user = 'foo';
alter user foo identified by password '*88C89BE093D4ECF72D039F62EBB7477EA1FD4D63';
select * from mysql.user where user = 'foo';
+alter user foo identified by password 'invalid';
+select * from mysql.user where user = 'foo';
+
--error ER_CANNOT_USER
alter user foo identified with 'somecoolplugin';
show warnings;