diff --git a/data/sqlutil/converter.go b/data/sqlutil/converter.go index b34bb2a1e..7662549c9 100644 --- a/data/sqlutil/converter.go +++ b/data/sqlutil/converter.go @@ -398,7 +398,7 @@ var IntOrFloatToNullableFloat64 = data.FieldConverter{ return &val, nil case float32: fval := float64(val) - return fval, nil + return &fval, nil case int: fval := float64(val) return &fval, nil