-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add support for new lock syntax in MySQL8 #13965
Add support for new lock syntax in MySQL8 #13965
Conversation
Signed-off-by: Patrick Carnahan <[email protected]> Signed-off-by: Arthur Schreiber <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
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.
LGTM!
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.
plan test should be added for these locks
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
Hey @arthurschreiber are you still working on this? |
Yes, just didn't have time to add the missing tests. 😖 |
No worries! I was just wondering the state of this PR 🚀 |
Signed-off-by: Harshit Gangal <[email protected]>
…/mysql8-lock-syntax
Signed-off-by: Patrick Carnahan <[email protected]> Signed-off-by: Arthur Schreiber <[email protected]> Signed-off-by: Harshit Gangal <[email protected]> Co-authored-by: Patrick Carnahan <[email protected]> Co-authored-by: Harshit Gangal <[email protected]>
Description
This completes the work to enable the following syntax in vitess:
SELECT .. FOR SHARE (NOWAIT|SKIP LOCKED)
SELECT .. FOR UPDATE (NOWAIT|SKIP LOCKED)
The aim is to finish the work started in #5336, which added the keywords to the syntax but didn't modify the ast and other functions to handle it.
Original author: @patrickcarnahan
Related Issue(s)
Fixes #5249
Checklist
Deployment Notes