Skip to content

Commit da6f48f

Browse files
author
James Cor
committed
fix
1 parent b75a3a8 commit da6f48f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/types/number.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import (
2323
"reflect"
2424
"regexp"
2525
"strconv"
26+
"strings"
2627
"time"
2728
"unicode"
2829

@@ -454,8 +455,6 @@ func (t NumberTypeImpl_) ConvertRound(ctx context.Context, v interface{}) (any,
454455
return convertToInt64(t, v, ShouldRound)
455456
case sqltypes.Uint64:
456457
return convertToUint64(t, v, ShouldRound)
457-
case sqltypes.Uint64:
458-
return convertToUint64(t, v, true)
459458
default:
460459
return t.Convert(ctx, v)
461460
}

0 commit comments

Comments
 (0)