Skip to content

Commit 3532829

Browse files
authored
expression: fix errors set utc_timestamp precision (pingcap#56453)
close pingcap#56451
1 parent b054825 commit 3532829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql/errname.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ var MySQLErrName = map[uint16]*ErrMessage{
454454
ErrNoDefaultForViewField: Message("Field of view '%-.192s.%-.192s' underlying table doesn't have a default value", nil),
455455
ErrSpNoRecursion: Message("Recursive stored functions and triggers are not allowed.", nil),
456456
ErrTooBigScale: Message("Too big scale %d specified for column '%-.192s'. Maximum is %d.", nil),
457-
ErrTooBigPrecision: Message("Too big precision %d specified for column '%-.192s'. Maximum is %d.", nil),
457+
ErrTooBigPrecision: Message("Too-big precision %d specified for '%-.192s'. Maximum is %d.", nil),
458458
ErrMBiggerThanD: Message("For float(M,D), double(M,D) or decimal(M,D), M must be >= D (column '%-.192s').", nil),
459459
ErrWrongLockOfSystemTable: Message("You can't combine write-locking of system tables with other tables or lock types", nil),
460460
ErrConnectToForeignDataSource: Message("Unable to connect to foreign data source: %.64s", nil),

0 commit comments

Comments
 (0)