-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
sessionctx: change "server_uuid" fake value #9434
Conversation
PTAL @GregoryIan (for the remote chance it affects tools), @jackysp |
Codecov Report
@@ Coverage Diff @@
## master #9434 +/- ##
================================================
- Coverage 67.3955% 67.3917% -0.0038%
================================================
Files 377 377
Lines 79345 79345
================================================
- Hits 53475 53472 -3
- Misses 21098 21102 +4
+ Partials 4772 4771 -1 |
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
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
/run-all-tests |
What problem does this PR solve?
TiDB lies about certain variables to be compatible with MySQL. The current
server_uuid
value looks so specific, that it is not clear it is for compatibility.It confused a user I was speaking to.
What is changed and how it works?
I've changed the dummy value from something specific to all zeros. It is a very small change, but is less likely to confuse users since it looks like something uninitialized vs a working feature.
Check List
Tests
Code changes
Side effects
Related changes