-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executor: make the format of user and host fields ... (#18162) #18379
executor: make the format of user and host fields ... (#18162) #18379
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
executor/slow_query_test.go
Outdated
@@ -76,7 +77,11 @@ select * from t;` | |||
} | |||
recordString += str | |||
} | |||
<<<<<<< HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve this conflict.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@qw4990 please resolve the conflicts and fix CI.
PTAL @zz-jason @SunRunAway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
cherry-pick #18162 to release-4.0
What problem does this PR solve?
Issue Number: related to #17846
Problem Summary: make the format of user and host fields in slow logs be compatible with MySQL
What is changed and how it works?
The format of TiDB now is:
# User: {user_name}@{host_address}
For example:
# User: root@127.0.0.1
After this PR, it will be:
# User@Host: {user_name}[{user_name}] @ {host_name} [{host_address}]
, which is compatible with MySQL.For example:
# User@Host: root[root] @ localhost [127.0.0.1]
Related changes
pingcap/docs
/pingcap/docs-cn
:Check List
Tests
Release note