Skip to content

Commit 2ad5bf3

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 613882e commit 2ad5bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/expression/function/truncate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (t *Truncate) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) {
6969
if err != nil && sql.ErrTruncatedIncorrect.Is(err) {
7070
ctx.Warn(mysql.ERTruncatedWrongValue, "Truncated incorrect DOUBLE value: '%s'", val)
7171
}
72-
72+
7373
// Then convert to decimal for truncation logic
7474
val, _, err = types.InternalDecimalType.Convert(ctx, val)
7575
if err != nil && sql.ErrTruncatedIncorrect.Is(err) {

0 commit comments

Comments
 (0)