Commit f94c9b02 authored by Philip Stoev's avatar Philip Stoev Committed by Sachin Setiya

Galera MTR Tests: MW-305 , re-enable the test for ALTER USER

parent 0f6aa6ba
...@@ -2,6 +2,13 @@ CREATE USER user1, user2 IDENTIFIED BY 'password'; ...@@ -2,6 +2,13 @@ CREATE USER user1, user2 IDENTIFIED BY 'password';
SELECT COUNT(*) = 2 FROM mysql.user WHERE user IN ('user1', 'user2'); SELECT COUNT(*) = 2 FROM mysql.user WHERE user IN ('user1', 'user2');
COUNT(*) = 2 COUNT(*) = 2
1 1
ALTER USER user1 PASSWORD EXPIRE;
SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
password_expired = 'Y'
1
SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
password_expired = 'Y'
1
RENAME USER user2 TO user3; RENAME USER user2 TO user3;
SELECT COUNT(*) = 0 FROM mysql.user WHERE user = 'user2'; SELECT COUNT(*) = 0 FROM mysql.user WHERE user = 'user2';
COUNT(*) = 0 COUNT(*) = 0
......
...@@ -18,14 +18,12 @@ SELECT COUNT(*) = 2 FROM mysql.user WHERE user IN ('user1', 'user2'); ...@@ -18,14 +18,12 @@ SELECT COUNT(*) = 2 FROM mysql.user WHERE user IN ('user1', 'user2');
# ALTER USER # ALTER USER
# #
# LP bug 1376269 --connection node_1
# ALTER USER user1 PASSWORD EXPIRE;
#--connection node_1 SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
#ALTER USER user1 PASSWORD EXPIRE;
#SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1'; --connection node_2
# SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
#--connection node_2
#SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
# #
# RENAME USER # RENAME USER
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment