session: improve bootstrap code#34755
Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/12a7aa9155709a4d6098977035be6cc5f9920294 |
|
PTAL @hawkingrei |
|
@hawkingrei ping :-) |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 5f80cef |
TiDB MergeCI notify
|
* upstream/master: planner: make some `show stmt` more fine-grained privilege check (pingcap#35493) session: improve bootstrap code (pingcap#34755) *: upgrade go-proxyprotocol version (pingcap#35560) planner: introduce new cost formula for MPPAggs (pingcap#35436)
What problem does this PR solve?
Issue Number: close #34754
Problem Summary:
The code for bootstrapping variables is not clean, which makes it a potential source for bugs. This is a function neutral refactor.
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.