We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a62847 commit 3731d51Copy full SHA for 3731d51
mysql/resultset.go
@@ -42,7 +42,7 @@ func (p RowData) ParseText(f []*Field) ([]interface{}, error) {
42
43
switch f[i].Type {
44
case MYSQL_TYPE_TINY, MYSQL_TYPE_SHORT, MYSQL_TYPE_INT24,
45
- MYSQL_TYPE_LONGLONG, MYSQL_TYPE_YEAR:
+ MYSQL_TYPE_LONGLONG, MYSQL_TYPE_LONG, MYSQL_TYPE_YEAR:
46
if isUnsigned {
47
data[i], err = strconv.ParseUint(string(v), 10, 64)
48
} else {
0 commit comments