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

run make in pkg/parser will make Keywords out of order #50066

Closed
Defined2014 opened this issue Jan 4, 2024 · 0 comments · Fixed by #50103
Closed

run make in pkg/parser will make Keywords out of order #50066

Defined2014 opened this issue Jan 4, 2024 · 0 comments · Fixed by #50103
Assignees
Labels
component/parser severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@Defined2014
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

run make in pkg/parser
then git diff

2. What did you expect to see? (Required)

nothing output

3. What did you see instead (Required)

diff --git a/pkg/parser/keywords.go b/pkg/parser/keywords.go
index 17fed04c8f..63f1d23a4e 100644
--- a/pkg/parser/keywords.go
+++ b/pkg/parser/keywords.go
@@ -611,9 +611,9 @@ var Keywords = []KeywordsType{
        {"UNCOMMITTED", false, "unreserved"},
        {"UNDEFINED", false, "unreserved"},
        {"UNICODE", false, "unreserved"},
-       {"UNIVERSAL", false, "unreserved"},
        {"UNKNOWN", false, "unreserved"},
        {"USER", false, "unreserved"},
+       {"UNIVERSAL", false, "unreserved"},
        {"VALIDATION", false, "unreserved"},
        {"VALUE", false, "unreserved"},
        {"VARIABLES", false, "unreserved"},

4. What is your TiDB version? (Required)

@Defined2014 Defined2014 added type/bug The issue is confirmed as a bug. component/parser severity/moderate labels Jan 4, 2024
@Defined2014 Defined2014 self-assigned this Jan 4, 2024
@jebter jebter added the sig/sql-infra SIG: SQL Infra label Jan 4, 2024
ti-chi-bot bot pushed a commit that referenced this issue Jan 5, 2024
AilinKid pushed a commit to AilinKid/tidb that referenced this issue Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/parser severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
2 participants