Skip to content
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

planner: support point get as a option of datasource #16844

Closed

Conversation

lzmhhh123
Copy link
Contributor

@lzmhhh123 lzmhhh123 commented Apr 26, 2020

cherry-pick: #14775

Release note

  • support point get as an option of the data source.

@lzmhhh123 lzmhhh123 added sig/planner SIG: Planner status/DNM type/3.0-cherry-pick type/enhancement The issue or PR belongs to an enhancement. labels Apr 26, 2020
@github-actions github-actions bot added the sig/execution SIG execution label Apr 26, 2020
@lzmhhh123 lzmhhh123 force-pushed the release-3.0-cherry-pick-cbo-pt branch from 0b847f9 to 1c14720 Compare April 29, 2020 06:32
@winoros winoros self-requested a review May 9, 2020 09:43
@@ -446,6 +446,8 @@ type SessionVars struct {
// LockWaitTimeout is the duration waiting for pessimistic lock in milliseconds
// negative value means nowait, 0 means default behavior, others means actual wait time
LockWaitTimeout int64

NeedntCBOPointGet bool
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need this varible?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's the code of debug.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the variable is to ban CBO point get for insert/delete/update.

@sre-bot
Copy link
Contributor

sre-bot commented May 19, 2020

@lzmhhh123 lzmhhh123 closed this Aug 5, 2020
@lzmhhh123 lzmhhh123 deleted the release-3.0-cherry-pick-cbo-pt branch August 14, 2020 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/executor sig/execution SIG execution sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement. type/3.0-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants