mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-24098: 10.5 followup
remove version data from the test output
This commit is contained in:
@ -163,7 +163,7 @@ CREATE USER `user1`@`localhost` ACCOUNT LOCK PASSWORD EXPIRE
|
|||||||
alter user user1@localhost PASSWORD EXPIRE INTERVAL 60 DAY ACCOUNT UNLOCK;
|
alter user user1@localhost PASSWORD EXPIRE INTERVAL 60 DAY ACCOUNT UNLOCK;
|
||||||
select * from mysql.global_priv where user='user1';
|
select * from mysql.global_priv where user='user1';
|
||||||
Host User Priv
|
Host User Priv
|
||||||
localhost user1 {"access":0,"version_id":100509,"plugin":"mysql_native_password","authentication_string":"","account_locked":false,"password_last_changed":0,"password_lifetime":60}
|
localhost user1 {"access":0,"version_id":XXX,"plugin":"mysql_native_password","authentication_string":"","account_locked":false,"password_last_changed":0,"password_lifetime":60}
|
||||||
show create user user1@localhost;
|
show create user user1@localhost;
|
||||||
CREATE USER for user1@localhost
|
CREATE USER for user1@localhost
|
||||||
CREATE USER `user1`@`localhost` PASSWORD EXPIRE
|
CREATE USER `user1`@`localhost` PASSWORD EXPIRE
|
||||||
|
@ -160,6 +160,7 @@ alter user user1@localhost ACCOUNT LOCK PASSWORD EXPIRE DEFAULT;
|
|||||||
show create user user1@localhost;
|
show create user user1@localhost;
|
||||||
# note output needs to be corrected by MDEV-24114: password expire users cannot be unexpired
|
# note output needs to be corrected by MDEV-24114: password expire users cannot be unexpired
|
||||||
alter user user1@localhost PASSWORD EXPIRE INTERVAL 60 DAY ACCOUNT UNLOCK;
|
alter user user1@localhost PASSWORD EXPIRE INTERVAL 60 DAY ACCOUNT UNLOCK;
|
||||||
|
--replace_regex /"version_id":[0-9]*,/"version_id":XXX,/
|
||||||
select * from mysql.global_priv where user='user1';
|
select * from mysql.global_priv where user='user1';
|
||||||
show create user user1@localhost;
|
show create user user1@localhost;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user