Skip to content

plan: fix the IsSelectForUpdateLockType check#21125

Merged
ti-srebot merged 3 commits intopingcap:masterfrom
cfzjywxk:fix_lock_type_check
Nov 19, 2020
Merged

plan: fix the IsSelectForUpdateLockType check#21125
ti-srebot merged 3 commits intopingcap:masterfrom
cfzjywxk:fix_lock_type_check

Conversation

@cfzjywxk
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number:
Fix #19336 on the master branch.

Problem Summary:

What is changed and how it works?

What's Changed:
Fix the check function and the possible compile error for select .. lock in share.

How it Works:

Related changes

Check List

Tests

  • Unit test

Side effects

Release note

  • No release note

@cfzjywxk cfzjywxk added type/bugfix This PR fixes a bug. sig/planner SIG: Planner labels Nov 19, 2020
@cfzjywxk cfzjywxk requested review from a user, jackysp, lysu and lzmhhh123 November 19, 2020 02:44
@cfzjywxk cfzjywxk requested a review from a team as a code owner November 19, 2020 02:44
@ghost
Copy link
Copy Markdown

ghost commented Nov 19, 2020

LGTM

@ti-srebot
Copy link
Copy Markdown
Contributor

@nullnotnil, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIG: planner(slack).

@lysu
Copy link
Copy Markdown
Contributor

lysu commented Nov 19, 2020

LGTM

@ti-srebot
Copy link
Copy Markdown
Contributor

@lysu, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIG: planner(slack).

@cfzjywxk cfzjywxk added the sig/transaction SIG:Transaction label Nov 19, 2020
Copy link
Copy Markdown
Contributor

@jackysp jackysp left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 19, 2020
@lysu
Copy link
Copy Markdown
Contributor

lysu commented Nov 19, 2020

LGTM

@ti-srebot ti-srebot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Nov 19, 2020
@lysu
Copy link
Copy Markdown
Contributor

lysu commented Nov 19, 2020

/merge

@ti-srebot
Copy link
Copy Markdown
Contributor

Your auto merge job has been accepted, waiting for:

  • 21015
  • 20982
  • 21090

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 19, 2020
@ti-srebot
Copy link
Copy Markdown
Contributor

/run-all-tests

@ti-srebot
Copy link
Copy Markdown
Contributor

@cfzjywxk merge failed.

@cfzjywxk
Copy link
Copy Markdown
Contributor Author

/merge

@ti-srebot
Copy link
Copy Markdown
Contributor

Your auto merge job has been accepted, waiting for:

  • 21127
  • 21072
  • 21127
  • 20927

@ti-srebot
Copy link
Copy Markdown
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit 629ef07 into pingcap:master Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sig/planner SIG: Planner sig/transaction SIG:Transaction status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

select lock in share mode Unexpected behavior

4 participants