committed by
Cameron Sparr
parent
792682590c
commit
0f6d317a8e
@@ -1511,7 +1511,7 @@ func parseValue(value sql.RawBytes) (float64, bool) {
|
||||
}
|
||||
|
||||
if bytes.Compare(value, []byte("No")) == 0 || bytes.Compare(value, []byte("OFF")) == 0 {
|
||||
return 0, false
|
||||
return 0, true
|
||||
}
|
||||
n, err := strconv.ParseFloat(string(value), 64)
|
||||
return n, err == nil
|
||||
|
||||
Reference in New Issue
Block a user