mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
mysql: Null value should not be considered as previous value
fixes #8655
This commit is contained in:
parent
2a93bed453
commit
2479e51a6b
@ -307,6 +307,9 @@ func (s *stringStringScan) Update(rows *sql.Rows) error {
|
||||
return err
|
||||
}
|
||||
|
||||
s.time = null.FloatFromPtr(nil)
|
||||
s.value = null.FloatFromPtr(nil)
|
||||
|
||||
for i := 0; i < s.columnCount; i++ {
|
||||
if rb, ok := s.rowPtrs[i].(*sql.RawBytes); ok {
|
||||
s.rowValues[i] = string(*rb)
|
||||
|
Loading…
Reference in New Issue
Block a user