mirror of
https://github.com/golang/go
synced 2024-11-14 05:40:29 -07:00
1
Change-Id: I67294aa80205ec6495e8b62679fb50571ffd669b
This commit is contained in:
parent
eac68abbaf
commit
1d9cd2eb3f
@ -435,7 +435,7 @@ func (n Null[T]) Value() (driver.Value, error) {
|
||||
if valuer, ok := v.(driver.Valuer); ok {
|
||||
val, err := valuer.Value()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return val, err
|
||||
}
|
||||
v = val
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user