Add support for new lock syntax in MySQL8#13965
Merged
harshit-gangal merged 3 commits intovitessio:mainfrom Nov 16, 2023
Merged
Add support for new lock syntax in MySQL8#13965harshit-gangal merged 3 commits intovitessio:mainfrom
harshit-gangal merged 3 commits intovitessio:mainfrom
Conversation
Signed-off-by: Patrick Carnahan <patrickcarnahan@github.com> Signed-off-by: Arthur Schreiber <arthurschreiber@github.com>
Contributor
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
|
frouioui
approved these changes
Sep 21, 2023
Member
harshit-gangal
left a comment
There was a problem hiding this comment.
plan test should be added for these locks
Contributor
|
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. |
Member
|
Hey @arthurschreiber are you still working on this? |
Member
Author
|
Yes, just didn't have time to add the missing tests. 😖 |
Member
No worries! I was just wondering the state of this PR 🚀 |
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
harshit-gangal
approved these changes
Nov 16, 2023
ejortegau
pushed a commit
to slackhq/vitess
that referenced
this pull request
Dec 13, 2023
Signed-off-by: Patrick Carnahan <patrickcarnahan@github.com> Signed-off-by: Arthur Schreiber <arthurschreiber@github.com> Signed-off-by: Harshit Gangal <harshit@planetscale.com> Co-authored-by: Patrick Carnahan <patrickcarnahan@github.com> Co-authored-by: Harshit Gangal <harshit@planetscale.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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