mirror of
https://github.com/golang/go
synced 2024-11-13 12:40:26 -07:00
2
Change-Id: I3aab5f1683fed439db21f3ddf04d1250cf38ff1e
This commit is contained in:
parent
1d9cd2eb3f
commit
3df182d23d
@ -433,7 +433,7 @@ func (n Null[T]) Value() (driver.Value, error) {
|
||||
v := any(n.V)
|
||||
// See issue 69728.
|
||||
if valuer, ok := v.(driver.Valuer); ok {
|
||||
val, err := valuer.Value()
|
||||
val, err := callValuerValue(valuer)
|
||||
if err != nil {
|
||||
return val, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user