mirror of https://github.com/mattn/go-sqlite3.git
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/#Rows
This commit is contained in:
parent
c066df8cd4
commit
4a7ad328b7
|
@ -525,7 +525,7 @@ func (rc *SQLiteRows) Next(dest []driver.Value) error {
|
||||||
dest[i] = time.Time{}
|
dest[i] = time.Time{}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
dest[i] = s
|
dest[i] = []byte(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue