-
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
Remove GetSessionVars
and Value
/GetValue
in expression.BuildContext
#52366
Labels
type/enhancement
The issue or PR belongs to an enhancement.
Comments
13 tasks
This was referenced Apr 9, 2024
Merged
13 tasks
13 tasks
3AceShowHand
pushed a commit
to 3AceShowHand/tidb
that referenced
this issue
Apr 16, 2024
3AceShowHand
pushed a commit
to 3AceShowHand/tidb
that referenced
this issue
Apr 16, 2024
…f `SessionVars` (pingcap#52451) ref pingcap#52366
3AceShowHand
pushed a commit
to 3AceShowHand/tidb
that referenced
this issue
Apr 16, 2024
…ignore truncate error (pingcap#52468) close pingcap#52366
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement
It's better to remove some methods like
Value
,SetValue
orGetSessionVars
inexpression.BuildContext
because these methods are too common and contain too many fields even they are not used inBuildContext
. These methods makes it's hard to mock or build a standalone context without a session enviroment.The text was updated successfully, but these errors were encountered: