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

Inline reference #8136

Merged
merged 4 commits into from
May 17, 2021
Merged

Conversation

GuptaManan100
Copy link
Member

Description

MySQL allows specifying a reference along with the column definition which is currently not supported in Vitess. This PR adds support for statements like them

CREATE TABLE x (
  col int REFERENCES y (v) ON DELETE CASCADE
)

Related Issue(s)

Resolves #8135

Checklist

  • Tests were added or are not required
  • Documentation was added or is not required

Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
…initions

Signed-off-by: GuptaManan100 <manan@planetscale.com>
Signed-off-by: GuptaManan100 <manan@planetscale.com>
@GuptaManan100 GuptaManan100 added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving labels May 17, 2021
@GuptaManan100 GuptaManan100 self-assigned this May 17, 2021
@harshit-gangal harshit-gangal merged commit 71126fe into vitessio:master May 17, 2021
@harshit-gangal harshit-gangal deleted the inline-reference branch May 17, 2021 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inline References in Column Definition parsing support
2 participants