Skip to content

Commit

Permalink
[parser] mysql: fix variable formatting for ErrTruncateWrongValue (pi…
Browse files Browse the repository at this point in the history
  • Loading branch information
alapha23 authored and zz-jason committed Nov 26, 2018
1 parent b5f487f commit 8abaae4
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 8abaae4

Please sign in to comment.