We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0a850 commit 3b93296Copy full SHA for 3b93296
sql/numbertype.go
@@ -1083,7 +1083,7 @@ func mustInt64(v interface{}) int64 {
1083
return int64(tv)
1084
case uint64:
1085
if tv > math.MaxInt64 {
1086
- panic(fmt.Sprintf("value %d exceeds int64 range", tv))
+ return math.MaxInt64
1087
}
1088
1089
case bool:
0 commit comments