forked from mirror/go-sqlcipher
Merge pull request #97 from mpl/master
Next(): populate Row with []byte instead of string, as per driver doc
This commit is contained in:
commit
afb8145692
|
@ -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