Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
81b9c785
Commit
81b9c785
authored
Nov 14, 2020
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24098: 10.5 followup
remove version data from the test output
parent
6daf6bbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
mysql-test/main/lock_user.result
mysql-test/main/lock_user.result
+1
-1
mysql-test/main/lock_user.test
mysql-test/main/lock_user.test
+1
-0
No files found.
mysql-test/main/lock_user.result
View file @
81b9c785
...
...
@@ -163,7 +163,7 @@ CREATE USER `user1`@`localhost` ACCOUNT LOCK PASSWORD EXPIRE
alter user user1@localhost PASSWORD EXPIRE INTERVAL 60 DAY ACCOUNT UNLOCK;
select * from mysql.global_priv where user='user1';
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;
CREATE USER for user1@localhost
CREATE USER `user1`@`localhost` PASSWORD EXPIRE
...
...
mysql-test/main/lock_user.test
View file @
81b9c785
...
...
@@ -160,6 +160,7 @@ alter user user1@localhost ACCOUNT LOCK PASSWORD EXPIRE DEFAULT;
show
create
user
user1
@
localhost
;
# 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
;
--
replace_regex
/
"version_id"
:
[
0
-
9
]
*
,
/
"version_id"
:
XXX
,
/
select
*
from
mysql
.
global_priv
where
user
=
'user1'
;
show
create
user
user1
@
localhost
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment