Next(): populate Row with []byte instead of string, as per driver doc
Fix on behalf of bradfitz, see http://golang.org/pkg/database/sql/driver/#Rowssystemlib
parent
c066df8cd4
commit
4a7ad328b7
|
@ -525,7 +525,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
|
|||
dest[i] = time.Time{}
|
||||
}
|
||||
default:
|
||||
dest[i] = s
|
||||
dest[i] = []byte(s)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue