You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql.RawBytes undefined (type string has no field or method RawBytes)
Configuration
Driver version (or git SHA):
1.3 Go version: run go version in your console
go1.9 Server version: E.g. MySQL 5.6, MariaDB 10.0.20
MySQL5.5 Server OS: E.g. Debian 8.1 (Jessie), Windows 10
CentOS6
The text was updated successfully, but these errors were encountered:
you masked the database/sql package here: sql := `select * from table sql is then a string, not the package. Rename the string e.g. to query and it will work
Issue description
Use sql.RawBytes to get an error:
The error appears :values := make([]sql.RawBytes, len(c))
Example code
Error log
Configuration
Driver version (or git SHA):
1.3
Go version: run
go version
in your consolego1.9
Server version: E.g. MySQL 5.6, MariaDB 10.0.20
MySQL5.5
Server OS: E.g. Debian 8.1 (Jessie), Windows 10
CentOS6
The text was updated successfully, but these errors were encountered: