-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
parser: table option should always restore without quotes #38368
Labels
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
affects-6.2
affects-6.3
severity/minor
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Comments
I fix it in #38355 |
12 tasks
xhebox
added
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
affects-6.2
affects-6.3
severity/minor
labels
Oct 10, 2022
ti-chi-bot
pushed a commit
that referenced
this issue
Oct 10, 2022
12 tasks
ti-chi-bot
pushed a commit
to ti-chi-bot/tidb
that referenced
this issue
Oct 11, 2022
This was referenced Oct 11, 2022
ti-chi-bot
pushed a commit
to ti-chi-bot/tidb
that referenced
this issue
Oct 11, 2022
12 tasks
ti-chi-bot
pushed a commit
to ti-chi-bot/tidb
that referenced
this issue
Oct 11, 2022
ti-chi-bot
added a commit
that referenced
this issue
Oct 12, 2022
ti-chi-bot
added a commit
that referenced
this issue
Oct 12, 2022
ti-chi-bot
added a commit
that referenced
this issue
Oct 14, 2022
h3n4l
added a commit
to bytebase/tidb
that referenced
this issue
Oct 26, 2022
ti-chi-bot
added a commit
that referenced
this issue
Nov 4, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.0
affects-6.1
affects-6.2
affects-6.3
severity/minor
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
We can find that the
get
is:It's caused by
ctx.WriteString(n.StrValue)
in here. We will encounter the error if we execute it in MySQL client:2. What did you expect to see? (Required)
Restore should restore INSERT_METHOD without quotes likes:
https://dev.mysql.com/doc/refman/8.0/en/create-table.html
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Parser at HEAD.
The text was updated successfully, but these errors were encountered: