-
Notifications
You must be signed in to change notification settings - Fork 18k
database/sql: driver restriction on Scan value type seems useless #5066
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
These drivers return only []byte (no string). - github.com/ziutek/mymysql - github.com/Go-SQL-Driver/MySQL - github.com/lxn/go-pgsql - github.com/bmizerany/pq - github.com/gwenn/gosqlite - code.google.com/p/go-sqlite - bitbucket.org/phiggins/go-db2-cli These drivers may return string: - github.com/weigj/go-odbc - github.com/jgallagher/go-libpq - github.com/mattn/go-sqlite3 - github.com/mattn/go-oci8 - github.com/mattn/go-adodb |
Here is a patch. No regression in standard library test suite. No regression in 'github.com/bradfitz/go-sql-test/src/sqltest'. I don't know if the change made to 'IsScanValue' method can be considered as a Go1 api break or not. Attachments:
|
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by gtreguier:
The text was updated successfully, but these errors were encountered: