Skip to content

Commit

Permalink
[parser] mysql: fix variable formatting for ErrTruncateWrongValue (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
alapha23 authored and ti-chi-bot committed Oct 9, 2021
1 parent 326ba01 commit 6a3812e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/mysql/errname.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ var MySQLErrName = map[uint16]string{
ErrFeatureDisabled: "The '%s' feature is disabled; you need MySQL built with '%s' to have it working",
ErrOptionPreventsStatement: "The MySQL server is running with the %s option so it cannot execute this statement",
ErrDuplicatedValueInType: "Column '%-.100s' has duplicated value '%-.64s' in %s",
ErrTruncatedWrongValue: "Truncated incorrect %-.32s value: '%-.128s'",
ErrTruncatedWrongValue: "Truncated incorrect %-.64s value: '%-.128s'",
ErrTooMuchAutoTimestampCols: "Incorrect table definition; there can be only one TIMESTAMP column with CURRENTTIMESTAMP in DEFAULT or ON UPDATE clause",
ErrInvalidOnUpdate: "Invalid ON UPDATE clause for '%-.192s' column",
ErrUnsupportedPs: "This command is not supported in the prepared statement protocol yet",
Expand Down

0 comments on commit 6a3812e

Please sign in to comment.