1
0
mirror of https://github.com/golang/go synced 2024-11-13 12:40:26 -07:00
Change-Id: I3aab5f1683fed439db21f3ddf04d1250cf38ff1e
This commit is contained in:
Jes Cok 2024-10-19 11:35:13 +08:00
parent 1d9cd2eb3f
commit 3df182d23d

View File

@ -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
}