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

fix(export): Escape MySQL column names #8961

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

andres-lowrie
Copy link
Contributor

Description: This change wraps all the column names with backticks so that MySQL won't complain when a table has columns that are also reserved keywords in MySQL.

@mangalaman93 mangalaman93 merged commit db53e02 into dgraph-io:main Aug 18, 2023
12 checks passed
@mangalaman93
Copy link
Contributor

Thank you for the PR @andres-lowrie

jbhamra1 pushed a commit that referenced this pull request Aug 18, 2023
This change wraps all the column names with backticks so
that MySQL won't complain when a table has columns that 
are also reserved keywords in MySQL.
shivaji-dgraph pushed a commit that referenced this pull request Mar 12, 2024
This change wraps all the column names with backticks so
that MySQL won't complain when a table has columns that 
are also reserved keywords in MySQL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

4 participants