-
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 non-prepared plan cache #7040
Conversation
non-prepared plan cache is not useable if we can only do full string match. And further development doesn't worth the effort.
@zz-jason @tiancaiamao PTAL |
/run-all-tests |
session/session.go
Outdated
if recordSets, err = s.executeStatement(ctx, connID, stmtNode, stmt, recordSets); err != nil { | ||
return nil, errors.Trace(err) | ||
} | ||
// Step4: Execute the physical plan. |
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.
this is "step3" now.
@@ -1,58 +0,0 @@ | |||
// Copyright 2017 PingCAP, Inc. |
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.
this could be useful, maybe we can save it.
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.
We can always find the code from git history when we need it.
@zz-jason PTAL |
LGTM |
@tiancaiamao PTAL |
LGTM |
/run-all-tests |
And update the document too. |
1 similar comment
And update the document too. |
/run-all-tests |
/run-unit-test |
What have you changed? (mandatory)
Remove non-prepared plan cache。
What is the type of the changes? (mandatory)
non-prepared plan cache is not useable if we can only do full string match.
And further development doesn't worth the effort.
How has this PR been tested? (mandatory)
unit test
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
Yes
Does this PR affect tidb-ansible update? (mandatory)
Yes
Does this PR need to be added to the release notes? (mandatory)
release note:
Remove
plan-cache
config option.