Skip to content

Commit

Permalink
Change error info for parser(missing update for #838) (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
daviszhen authored Sep 24, 2021
1 parent 55ab04a commit 3aebaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/frontend/mysql_protocol_predefines.go
Original file line number Diff line number Diff line change
Expand Up @@ -6211,7 +6211,7 @@ var errorMsgRefer = map[uint16]errorMsgItem{
ER_DUP_KEYNAME: {1061, []string{"42000", "S1009"}, "Duplicate key name '%-.192s'"},
ER_DUP_ENTRY: {1062, []string{"23000", "S1009"}, "Duplicate entry '%-.192s' for key %d"},
ER_WRONG_FIELD_SPEC: {1063, []string{"42000", "S1009"}, "Incorrect column specifier for column '%-.192s'"},
ER_PARSE_ERROR: {1064, []string{"42000", "s1009"}, "%s near '%-.80s' at line %d"},
ER_PARSE_ERROR: {1064, []string{"42000", "s1009"}, "%s %s"},
ER_EMPTY_QUERY: {1065, []string{"42000"}, "Query was empty"},
ER_NONUNIQ_TABLE: {1066, []string{"42000", "S1009"}, "Not unique table/alias: '%-.192s'"},
ER_INVALID_DEFAULT: {1067, []string{"42000", "S1009"}, "Invalid default value for '%-.192s'"},
Expand Down

0 comments on commit 3aebaf5

Please sign in to comment.